User Guide
x87 Floating-Point Programming 285
24592—Rev. 3.15—November 2009 AMD64 Technology
Table 6-21. Masked Responses to x87 Floating-Point Exceptions
Exception and
Mnemonic
Type of
Operation
1
Processor Response
Invalid-operation
exception (IE)
2
Any Arithmetic Operation:
Source operand is an SNaN.
Set IE flag, and return a QNaN value.
Any Arithmetic Operation:
Source operand is an
unsupported data type
or
FADD, FADDP: Source
operands are infinities with
opposite signs
or
FSUB, FSUBP, FSUBR,
FSUBRP: Source operands are
infinities with same sign
or
FMUL, FMULP: Source
operands are zero and infinity
or
FDIV, FDIVP, FDIVR, FDIVRP:
Source operands are both
infinities or both are zeros
or
FSQRT: Source operand is less
than zero (except ±0 which
returns ±0)
or
FYL2X: Source operand is less
than zero (except ±0 which
returns ±∞)
or
FYL2XP1: Source operand is
less than minus one.
Set IE flag, and return the floating-point indefinite
value
3
.
Note:
1. See “Instruction Summary” on page 261 for the types of instructions.
2. Includes invalid-operation exception (IE) together with stack fault (SF).
3. See “Indefinite Values” on page 258.