[LLVMbugs] [Bug 8686] New: [MC assembler] 'b' suffix on 'setxx' mnemonics not accepted
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 24 14:16:58 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8686
Summary: [MC assembler] 'b' suffix on 'setxx' mnemonics not
accepted
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dimitry at andric.com
CC: llvmbugs at cs.uiuc.edu
In some contributed math library code in FreeBSD, there is the following
assembly instruction:
setneb %al
The 'b' suffix is not accepted by the MC assembler. I know it is quite
redundant, but gas is the standard, unfortunately. :)
In binutils's i386 opcode table file, there is this fragment:
setne, 1, 0xf95, 0x0, 2, Cpu386,
Modrm|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, {
Reg8|Byte|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S }
E.g. it accepts the 'b' suffix, but not the w, l, s, q, ld suffixes.
The same holds for all the following mnemonics:
seta
setae
setb
setbe
setc
sete
setg
setge
setl
setle
setna
setnae
setnb
setnbe
setnc
setne
setng
setnge
setnl
setnle
setno
setnp
setns
setnz
seto
setp
setpe
setpo
sets
setz
--
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