The table of (3)
Specify the following in each DWORD of (3).
bit 3:0 | Specify what to return when (2) is QNaN. |
---|---|
bit 7:4 | Specify what to return when (2) is SNaN. |
bit 11:8 | Specify what to return when (2) is zero. |
bit 15:12 | Specify what to return when (2) is positive 1. |
bit 19:16 | Specify what to return when (2) is negative infinity. |
bit 23:20 | Specify what to return when (2) is positive inifinity. |
bit 27:24 | Specify what to return when (2) is negative. |
bit 31:28 | Specify what to return when (2) is positive. |
What to return:
0000 | the value of (1) |
---|---|
0001 | the value of (2) |
0010 | QNaN( (2) ) |
0011 | QNaN_Indefinite |
0100 | negative infinity |
0101 | positive infinity |
0110 | infinity with the sign of (2) |
0111 | negative zero |
1000 | positive zero |
1001 | negative 1 |
1010 | positive 1 |
1011 | 0.5 |
1100 | 90.0 |
1101 | PI / 2 |
1110 | the max value of float type |
1111 | - (the max value of float type) |
If each bit of imm8 is set, MXCSR IE/ZE flags are set when any elements of (2) have the specific value.
imm8 bit 7 | positive infinity -> IE |
---|---|
imm8 bit 6 | negative -> IE |
imm8 bit 5 | negative infinity -> IE |
imm8 bit 4 | SNaN -> IE |
imm8 bit 3 | 1 -> IE |
imm8 bit 2 | 1 -> ZE |
imm8 bit 1 | zero -> IE |
imm8 bit 0 | zero -> ZE |