Intel 64 and IA-32 Architectures Software Developers Manual Volume 1, Basic Architecture
E-18 Vol. 1
GUIDELINES FOR WRITING SIMD FLOATING-POINT EXCEPTION HANDLERS
ADDPD
ADDSUBPD
HADDPD
SUBPD
HSUBPD
MULPD
DIVPD
ADDSD
SUBSD
MULSD
DIVSD
Rounded result
> largest double
precision finite
normal value
Roundi
ng
Sign
Result & Status
Flags
res = (result calculated with
unbounded exponent and
rounded to the destination
precision) / 2
1536
•#OE = 1
• #PE = 1 if the result is
inexact
To
nearest +
-
#OE = 1, #PE = 1
res =
res =
Toward
+
-
#OE = 1, #PE = 1
res = 1.11…1 *
2
1023
res =
Toward
+
-
#OE = 1, #PE = 1
res =
res = -1.11…1 *
2
1023
Toward
0+
-
#OE = 1, #PE = 1
res = 1.11…1 *
2
1023
res = -1.11…1 *
2
1023
Table E-16. #O - Numeric Overflow (Contd.)
Instruction Condition Masked Response
Unmasked Response
and Exception Code
∞+
∞–
∞–
∞–
∞+ ∞+