Intrinsics to Read and Write Registers for Streaming SIMD Extensions

To see detailed information about an intrinsic, click on that intrinsic name in the following table.

The prototypes for Streaming SIMD Extensions (SSE) intrinsics are in the xmmintrin.h header file.

Intrinsic
Name
Operation Corresponding SSE
Instruction
_mm_getcsr Return control register STMXCSR
_mm_setcsr Set control register LDMXCSR

 

unsigned int _mm_getcsr(void)

Returns the contents of the control register.

 

void _mm_setcsr(unsigned int i)

Sets the control register to the value specified.