[LLVMbugs] [Bug 8418] New: X86 assembler can't infer size suffixes on certain instructions
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 19 13:29:11 PDT 2010
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: unassignedbugs at nondot.org
ReportedBy: cdavis at mymail.mines.edu
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list