http://llvm.org/bugs/show_bug.cgi?id=8114
Summary: outb %al, (%dx) --> error: invalid operand for
instruction
Product: libraries
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
witten delta# cat foo.s
outb %al, (%dx)
witten delta# as foo.s && echo success
success
witten delta# llvm-mc foo.s
.section __TEXT,__text,regular,pure_instructions
foo.s:1:11: error: invalid operand for instruction
outb %al, (%dx)
^
also, the diagnostics are pretty wrong too:
witten delta# cat foo.s
outb
%al, (%dx)
outw %al, (%dx)
outl %al, (%dx)
witten delta# llvm-mc foo.s
.section __TEXT,__text,regular,pure_instructions
foo.s:1:11: error: invalid operand for instruction
outb %al, (%dx)
^
foo.s:3:6: error: invalid operand for instruction
outl %al, (%dx)
^
ie. two warnings, now I put some spaces there:
witten delta# cat foo.s
outb %al, (%dx)
outw %al, (%dx)
outl %al, (%dx)
witten delta# llvm-mc foo.s
.section __TEXT,__text,regular,pure_instructions
foo.s:1:11: error: invalid operand for instruction
outb %al, (%dx)
^
foo.s:3:6: error: invalid operand for instruction
outw %al, (%dx)
^
foo.s:5:6: error: invalid operand for instruction
outl %al, (%dx)
suddenly I have three warnings :)
--
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