Intrinsics to Read and Write Registers

The prototypes for Intel® Streaming SIMD Extensions (Intel® SSE) intrinsics to read from and write to registers are in the xmmintrin.h header file.

Intrinsic Name

Operation

Corresponding
Intel® 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.


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.