3-660
INSTRUCTION SET REFERENCE
SQRTSSÂScalar Single-FP Square Root (Continued)
Exceptions
None.
Numeric Exceptions
Invalid, Precision, Denormal.
Protected Mode Exceptions
#GP(0)
For an illegal memory operand effective address in the CS, DS, ES, FS, or
GS segments.
#SS(0)
For an illegal address in the SS segment.
#PF (fault-code) For a page fault.
#UD
If CR0.EM = 1.
#NM
If TS bit in CR0 is set.
#AC
For unaligned memory reference. To enable #AC exceptions, three condi-
tions must be true(CR0.AM is set; EFLAGS.AC is set; current CPL is 3).
#XM
For an unmasked Streaming SIMD Extension numeric exception
(CR4.OSXMMEXCPT =1).
#UD
For an unmasked Streaming SIMD Extension numeric exception
(CR4.OSXMMEXCPT =0).
#UD
If CR4.OSFXSR(bit 9) = 0.
#UD
If CPUID.XMM(EDX bit 25) = 0.
Real Address Mode Exceptions
Interrupt 13
If any part of the operand would lie outside of the effective address space
from 0 to 0FFFFH.
#UD
If CR0.EM = 1.
#NM
If TS bit in CR0 is set.
#XM
For an unmasked Streaming SIMD Extension numeric exception
(CR4.OSXMMEXCPT =1).
#UD
For an unmasked Streaming SIMD Extension numeric exception
(CR4.OSXMMEXCPT =0).
#UD
If CR4.OSFXSR(bit 9) = 0.
#UD
If CPUID.XMM(EDX bit 25) = 0.