Intel 64 and IA-32 Architectures Software Developers Manual Volume 1, Basic Architecture
E-20 Vol. 1
GUIDELINES FOR WRITING SIMD FLOATING-POINT EXCEPTION HANDLERS
Table E-18. #P - Inexact Result (Precision)
Instruction Condition Masked Response
Unmasked Response and Exception
Code
ADDPS
ADDPD
ADDSUBPS
ADDSUBPD
HADDPS
HADDPD
SUBPS
SUBPD
HSUBPS
HSUBPD
MULPS
MULPD
DIVPS
DIVPD
SQRTPS
SQRTPD
CVTDQ2PS
CVTPI2PS
CVTPS2PI
CVTPS2DQ
CVTPD2PI
CVTPD2DQ
CVTPD2PS
CVTTPS2PI
CVTTPD2PI
CVTTPD2DQ
CVTTPS2DQ
ADDSS
ADDSD
SUBSS
SUBSD
MULSS
MULSD
DIVSS
DIVSD
SQRTSS
SQRTSD
CVTSI2SS
CVTSS2SI
CVTSD2SI
CVTSD2SS
CVTTSS2SI
CVTTSD2SI
The result is not
exactly
representable in
the destination
format.
res = Result rounded
to the destination
precision and using the
bounded exponent, but
only if no unmasked
underflow or overflow
conditions occur (this
exception can occur in
the presence of a
masked underflow or
overflow); #PE = 1.
Only if no underflow/overflow condition
occurred, or if the corresponding exceptions
are masked:
• Set #OE if masked overflow and set
result as described above for masked
overflow.
• Set #UE if masked underflow and set
result as described above for masked
underflow.
If neither underflow nor overflow, res
equals the result rounded to the destination
precision and using the bounded exponent
set #PE = 1.