3-268
INSTRUCTION SET REFERENCE
FUCOM/FUCOMP/FUCOMPP—Unordered Compare Real
(Continued)
Operation
CASE (relation of operands) OF
ST > SRC:C3, C2, C0
<
000;
ST < SRC:C3, C2, C0
<
001;
ST = SRC:C3, C2, C0
<
100;
ESAC;
IF ST(0) or SRC = QNaN, but not SNaN or unsupported format
THEN
C3, C2, C0
<
111;
ELSE (* ST(0) or SRC is SNaN or unsupported format *)
#IA;
IF FPUControlWord.IM = 1
THEN
C3, C2, C0
<
111;
FI;
FI;
IF instruction = FUCOMP
THEN
PopRegisterStack;
FI;
IF instruction = FUCOMPP
THEN
PopRegisterStack;
PopRegisterStack;
FI;
FPU Flags Affected
C1
Set to 0 if stack underflow occurred.
C0, C2, C3
Refer to table on previous page.
Floating-Point Exceptions
#IS
Stack underflow occurred.
#IA
One or both operands are sNaN values or have unsupported formats.
Detection of a qNaN value in and of itself does not raise an invalid-
operand exception.
#D
One or both operands are denormal values.