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