http://llvm.org/bugs/show_bug.cgi?id=8418

           Summary: X86 assembler can't infer size suffixes on certain
                    instructions
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=5643)
 --> (http://llvm.org/bugs/attachment.cgi?id=5643)
Testcase that fails with llvm-mc

Trying to assemble the attached testcase with llvm-mc fails miserably:

test2.s:16:2: error: unknown use of instruction mnemonic without a size suffix
    div -24(%ebp),%eax
    ^

The example succeeds with the system assembler. It also works if I add the size
suffix ('l', in this case) manually to the 'div'.

Apparently the X86 assembler has a hard time inferring the size suffixes for
certain instructions, like the 'div' in the testcase.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to