http://llvm.org/bugs/show_bug.cgi?id=11403
Bug #: 11403
Summary: [x86 disassembler] is "fucompi" documented Intel
syntax?
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
From the "Intel® 64 and IA-32 Architectures Software Developer’s Manual
Volume 2 (2A & 2B): Instruction Set Reference, A-Z", p. 3-348:
DF E8+i FUCOMIP ST, ST(i)
Compare ST(0) with ST(i), check for ordered values, set status flags
accordingly, and pop register stack
Using llvm-mc built from r144979:
$ echo '0xdf 0xe9' |./llvm-mc -disassemble -triple="x86_64"
-x86-asm-syntax="intel"
fucompi ST(1)
I'm guessing that "fucompi" is some AT&T syntax shortcut to omit the ST
operand, but this isn't documented anywhere by Intel that I can find. When
specifying Intel syntax, should this disassemble as specified by Intel:
fucomip ST, ST(1)
--
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