Exceptions for sse can be enabled using _MM_SET_EXCEPTION_MASK
from xmmintrin.h
. For example, to enable invalid (nan) exceptions, do
#include <xmmintrin.h>
...
_MM_SET_EXCEPTION_MASK(_MM_GET_EXCEPTION_MASK() & ~_MM_MASK_INVALID);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…