The floating-point comparison instructions operate on floating-point or integer operands.
Table 3–15 Comparison Instructions (Floating-Point)|
Solaris Mnemonic |
Intel/AMD Mnemonic |
Description |
Notes |
|---|---|---|---|
|
FCOM |
compare floating-point | ||
|
FCOMI |
compare floating-point and set %eflags | ||
|
FCOMIP |
compare floating-point, set %eflags, and pop | ||
|
FCOMP |
compare floating-point and pop | ||
|
FCOMPP |
compare floating-point and pop twice | ||
|
FICOM |
compare integer | ||
|
FICOMP |
compare integer and pop | ||
|
FTST |
test floating-point (compare with 0.0) | ||
|
FUCOM |
unordered compare floating-point | ||
|
FUCOMI |
unordered compare floating-point and set %eflags | ||
|
FUCOMIP |
unordered compare floating-point, set %eflags, and pop | ||
|
FUCOMP |
unordered compare floating-point and pop | ||
|
FUCOMPP |
compare floating-point and pop twice | ||
|
FXAM |
examine floating-point |