Changeset 106175 in vbox for trunk/src/VBox/ValidationKit/bootsectors
- Timestamp:
- Sep 28, 2024 8:18:14 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32
r106174 r106175 1 /* $Id$ */2 1 /** @file 3 2 * BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions, C code template. … … 1577 1576 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_IE, \ 1578 1577 /*xcpt? */ false, false }, \ 1579 /* QNan, Normal ( Masked). */\1578 /* QNan, Normal (Unmasked). */ \ 1580 1579 { { /*src2 */ { FP32_QNAN(0), FP32_RAND_V3(1), FP32_RAND_V2(1), FP32_RAND_V2(0), FP32_RAND_V5(1), FP32_RAND_V4(0), FP32_RAND_V1(0), FP32_RAND_V2(0) } }, \ 1581 1580 { /*src1 */ { FP32_1(0), FP32_RAND_V2(1), FP32_RAND_V4(1), FP32_RAND_V6(1), FP32_RAND_V2(1), FP32_RAND_V7(0), FP32_RAND_V3(0), FP32_RAND_V4(1) } }, \ … … 1791 1790 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_IE, \ 1792 1791 /*xcpt? */ false, false }, \ 1793 /* QNan, Normal ( Masked). */\1792 /* QNan, Normal (Unmasked). */ \ 1794 1793 { { /*src2 */ { FP64_QNAN(0), FP64_RAND_V3(1), FP64_RAND_V2(1), FP64_RAND_V2(0) } }, \ 1795 1794 { /*src1 */ { FP64_1(0), FP64_RAND_V2(1), FP64_RAND_V2(1), FP64_RAND_V1(1) } }, \ 1796 1795 { /* => */ { FP64_QNAN(0), FP64_RAND_V2(1), FP64_RAND_V2(1), FP64_RAND_V1(1) } }, \ 1797 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_XCPT_FLAGS,\1798 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS,\1799 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS,\1796 /*mxcsr:in */ X86_MXCSR_XCPT_MASK, \ 1797 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_IE, \ 1798 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_IE, \ 1800 1799 /*xcpt? */ false, false }, \ 1801 1800 /* SNan, Normal (Masked). */ \ … … 11699 11698 { /*src1 */ { FP64_0(1), FP64_RAND_V2(1), FP64_RAND_V3(0), FP64_RAND_V0(1) } }, 11700 11699 { /* => */ { FP64_0(0), FP64_RAND_V2(1), FP64_RAND_V3(0), FP64_RAND_V0(1) } }, 11701 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN,11702 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN,11703 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN,11700 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN, 11701 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN, 11702 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN, 11704 11703 /*xcpt? */ false, false }, 11705 11704 { { /*src2 */ { FP64_0(1), FP64_RAND_V0(1), FP64_RAND_V1(1), FP64_RAND_V3(1) } }, … … 11713 11712 { /*src1 */ { FP64_0(0), FP64_RAND_V0(1), FP64_RAND_V1(1), FP64_RAND_V3(0) } }, 11714 11713 { /* => */ { FP64_0(1), FP64_RAND_V0(1), FP64_RAND_V1(1), FP64_RAND_V3(0) } }, 11715 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_UP,11716 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_UP,11717 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_UP,11714 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_UP, 11715 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_UP, 11716 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_UP, 11718 11717 /*xcpt? */ false, false }, 11719 11718 { { /*src2 */ { FP64_0(1), FP64_RAND_V1(1), FP64_RAND_V2(1), FP64_RAND_V3(1) } }, … … 11988 11987 /*46*/{ { /*src2 */ { FP64_DENORM_MAX(0), FP64_RAND_V2(0), FP64_RAND_V0(1), FP64_RAND_V3(0) } }, 11989 11988 { /*src1 */ { FP64_0(0), FP64_RAND_V3(0), FP64_RAND_V2(0), FP64_RAND_V2(1) } }, 11990 { /* => */ { FP64_ 0(0), FP64_RAND_V3(1), FP64_RAND_V2(0), FP64_RAND_V2(1) } },11989 { /* => */ { FP64_DENORM_MAX(0), FP64_RAND_V3(0), FP64_RAND_V2(0), FP64_RAND_V2(1) } }, 11991 11990 /*mxcsr:in */ 0, 11992 11991 /*128:out */ X86_MXCSR_DE, … … 12098 12097 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); 12099 12098 unsigned const iTest = BS3CPUINSTR4_TEST_MODES_INDEX(bMode); 12100 return bs3CpuInstr4_WorkerTestType1 (bMode, s_aTests[iTest].paTests, s_aTests[iTest].cTests,12099 return bs3CpuInstr4_WorkerTestType1A(bMode, s_aTests[iTest].paTests, s_aTests[iTest].cTests, 12101 12100 g_aXcptConfig3, RT_ELEMENTS(g_aXcptConfig3)); 12102 12101 } … … 13257 13256 { /*src1 */ { FP64_0(1), FP64_RAND_V2(1), FP64_RAND_V3(0), FP64_RAND_V0(1) } }, 13258 13257 { /* => */ { FP64_0(0), FP64_RAND_V2(1), FP64_RAND_V3(0), FP64_RAND_V0(1) } }, 13259 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN,13260 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN,13261 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN,13258 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN, 13259 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN, 13260 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_DOWN, 13262 13261 /*xcpt? */ false, false }, 13263 13262 { { /*src2 */ { FP64_0(1), FP64_RAND_V0(1), FP64_RAND_V1(1), FP64_RAND_V3(1) } }, … … 13271 13270 { /*src1 */ { FP64_0(0), FP64_RAND_V0(1), FP64_RAND_V1(1), FP64_RAND_V3(0) } }, 13272 13271 { /* => */ { FP64_0(1), FP64_RAND_V0(1), FP64_RAND_V1(1), FP64_RAND_V3(0) } }, 13273 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_UP,13274 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_UP,13275 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_ XCPT_FLAGS | X86_MXCSR_FZ | X86_MXCSR_RC_UP,13272 /*mxcsr:in */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_UP, 13273 /*128:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_UP, 13274 /*256:out */ X86_MXCSR_XCPT_MASK | X86_MXCSR_FZ | X86_MXCSR_RC_UP, 13276 13275 /*xcpt? */ false, false }, 13277 13276 { { /*src2 */ { FP64_0(1), FP64_RAND_V1(1), FP64_RAND_V2(1), FP64_RAND_V3(1) } }, … … 13546 13545 /*46*/{ { /*src2 */ { FP64_DENORM_MAX(0), FP64_RAND_V2(0), FP64_RAND_V0(1), FP64_RAND_V3(0) } }, 13547 13546 { /*src1 */ { FP64_0(0), FP64_RAND_V3(0), FP64_RAND_V2(0), FP64_RAND_V2(1) } }, 13548 { /* => */ { FP64_0(0), FP64_RAND_V3( 1), FP64_RAND_V2(0), FP64_RAND_V2(1) } },13547 { /* => */ { FP64_0(0), FP64_RAND_V3(0), FP64_RAND_V2(0), FP64_RAND_V2(1) } }, 13549 13548 /*mxcsr:in */ 0, 13550 13549 /*128:out */ X86_MXCSR_DE, … … 13656 13655 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); 13657 13656 unsigned const iTest = BS3CPUINSTR4_TEST_MODES_INDEX(bMode); 13658 return bs3CpuInstr4_WorkerTestType1 (bMode, s_aTests[iTest].paTests, s_aTests[iTest].cTests,13657 return bs3CpuInstr4_WorkerTestType1A(bMode, s_aTests[iTest].paTests, s_aTests[iTest].cTests, 13659 13658 g_aXcptConfig3, RT_ELEMENTS(g_aXcptConfig3)); 13660 13659 }
Note:
See TracChangeset
for help on using the changeset viewer.