Share via


_MM_SET_EXCEPTION_MASK

Microsoft Specific

Writes to the seventh through twelfth control register bits.

_MM_SET_EXCEPTION_MASK( 
   x 
)

Parameters

  • x
    One of the following values:

    • _MM_MASK_INVALID

    • _MM_MASK_DIV_ZERO

    • _MM_MASK_DENORM

    • _MM_MASK_OVERFLOW

    • _MM_MASK_UNDERFLOW

    • _MM_MASK_INEXACT

Remarks

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

Example

The following example masks the overflow and underflow exceptions and unmasks all other exceptions.

_MM_SET_EXCEPTION_MASK( _MM_MASK_OVERFLOW | _MM_MASK_UNDERFLOW)

END Microsoft Specific

See Also

Reference

Macro Functions to Read and Write the Control Registers

_MM_GET_EXCEPTION_MASK