Share via


_MM_GET_EXCEPTION_STATE

Microsoft Specific

Reads from the sixth-least significant control register bit.

_MM_GET_EXCEPTION_STATE( )

Example

The following example tests for a divide by zero exception.

if (_MM_GET_EXCEPTION_STATE(x) & _MM_EXCEPT_DIV_ZERO) {
      /* Exception has occurred */
}

The header file xmmintrin.h contains the declarations for the SSE intrinsics.

END Microsoft Specific

See Also

Reference

Macro Functions to Read and Write the Control Registers

_MM_SET_EXCEPTION_STATE