Developer Guide and Reference

Contents

Macro Functions to Read and Write Control Registers

The following macro functions enable you to read and write bits to and from the control register.
Exception State Macros
Macro Arguments
_MM_SET_EXCEPTION_STATE(x)
_MM_EXCEPT_INVALID
_MM_GET_EXCEPTION_STATE()
_MM_EXCEPT_DIV_ZERO
_MM_EXCEPT_DENORM
Macro Definitions
Write to and read from the six least significant control register bits, respectively.
_MM_EXCEPT_OVERFLOW
_MM_EXCEPT_UNDERFLOW
_MM_EXCEPT_INEXACT
The following example tests for a divide-by-zero exception.

Exception State Macros with _MM_EXCEPT_DIV_ZERO