[LLVMbugs] [Bug 8114] New: outb %al, (%dx) --> error: invalid operand for instruction
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 8 11:59:41 PDT 2010
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: unassignedbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list