[LLVMbugs] [Bug 9378] New: MC assembler doesn't handle fsubp %st, %st(1)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 2 14:46:48 PST 2011


           Summary: MC assembler doesn't handle fsubp %st,%st(1)
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pageexec at freemail.hu
                CC: llvmbugs at cs.uiuc.edu, pageexec at freemail.hu
            Blocks: 4068

while compiling linux with integrated-as, i get the following error:

arch/x86/kernel/cpu/bugs.c:74:13: error: invalid operand for instruction
                "fldl %1\n\t"
<inline asm>:6:12: note: instantiated into assembly here
        fsubp %st,%st(1)
1 error generated.

first note that the error message is printed for the wrong line (the actual
problem is in the following line of code), the note is correct however. it
seems that MC recognizes only the "fsubp %%st(1)" form.

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