[LLVMbugs] [Bug 11890] X86 intel syntax misprints st(0) operand with AT&T syntax

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 30 15:45:00 PST 2012


Devang Patel <dpatel at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Devang Patel <dpatel at apple.com> 2012-01-30 17:45:00 CST ---
It works for me, when I use mainline sources as of today.

$llc -O0 -mtriple=i386-pc-linux -mattr=-sse -x86-asm-syntax=intel < /tmp/f.ll 
    .file    "<stdin>"
    .globl    foo
    .align    16, 0x90
    .type    foo, at function
foo:                                    # @foo
# BB#0:
    fld    QWORD PTR [ESP + 20]
    fld    QWORD PTR [ESP + 12]
    fld    QWORD PTR [ESP + 4]
    fsubrp    ST(1)
    fsubr    ST(1), ST(0)
    fsubrp    ST(1)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list