Fix some mistakes I made when I tried to decipher the Intel documentation of the MXCSR register

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anders Carlsson 2009-02-11 06:29:32 +00:00
Родитель 3ebc36a1c1
Коммит 4cc4427984
1 изменённых файлов: 12 добавлений и 7 удалений

Просмотреть файл

@ -712,22 +712,27 @@ static inline int __attribute__((__always_inline__)) _mm_movemask_ps(__m128 a)
#define _MM_SHUFFLE(z, y, x, w) (((z) << 6) | ((y) << 4) | ((x) << 2) | (w))
#define _MM_MASK_INVALID (0x0001)
#define _MM_MASK_DENORM (0x0002)
#define _MM_MASK_DIV_ZERO (0x0004)
#define _MM_MASK_OVERFLOW (0x0008)
#define _MM_MASK_UNDERFLOW (0x0010)
#define _MM_MASK_INEXACT (0x0020)
#define _MM_EXCEPT_INVALID (0x0001)
#define _MM_EXCEPT_DENORM (0x0002)
#define _MM_EXCEPT_DIV_ZERO (0x0004)
#define _MM_EXCEPT_OVERFLOW (0x0008)
#define _MM_EXCEPT_UNDERFLOW (0x0010)
#define _MM_EXCEPT_INEXACT (0x0020)
#define _MM_EXCEPT_MASK (0x003f)
#define _MM_MASK_INVALID (0x0080)
#define _MM_MASK_DENORM (0x0100)
#define _MM_EXCEPT_DIV_ZERO (0x0200)
#define _MM_EXCEPT_OVERFLOW (0x0400)
#define _MM_EXCEPT_UNDERFLOW (0x0800)
#define _MM_EXCEPT_INEXACT (0x1000)
#define _MM_MASK_MASK (0x1f80)
#define _MM_ROUND_MASK (0x6000)
#define _MM_ROUND_NEAREST (0x0000)
#define _MM_ROUND_DOWN (0x2000)
#define _MM_ROUND_UP (0x4000)
#define _MM_ROUND_TOWARD_ZERO (0x6000)
#define _MM_ROUND_MASK (0x6000)
#define _MM_FLUSH_ZERO_MASK (0x8000)
#define _MM_FLUSH_ZERO_ON (0x8000)