-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
Description
| Bugzilla Link | 11403 |
| Version | trunk |
| OS | All |
| Blocks | #11360 |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
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)