3-347
INSTRUCTION SET REFERENCE
LDMXCSR—Load Streaming SIMD Extension Control/Status
(Continued)
C/C++ Compiler Intrinsic Equivalent
_mm_setcsr(unsigned int i)
Sets the control register to the value specified.
Exceptions
General protection fault if reserved bits are loaded with non-zero values.
Numeric Exceptions
None.
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 conditions must be true(CR0.AM is set;
EFLAGS.AC is set; current CPL is 3).
#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.
#UD
If CR4.OSFXSR(bit 9) = 0.
#UD
If CPUID.XMM(EDX bit 25) = 0.