Changeset 104771 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 24, 2024 10:37:38 AM (6 months ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4-template.mac
r104764 r104771 158 158 EMIT_INSTR_PLUS_ICEBP_C64 addpd, XMM8, FSxBX 159 159 160 EMIT_INSTR_PLUS_ICEBP vaddpd, XMM1, XMM2, XMM3 161 EMIT_INSTR_PLUS_ICEBP vaddpd, XMM1, XMM2, FSxBX 162 EMIT_INSTR_PLUS_ICEBP_C64 vaddpd, XMM8, XMM9, XMM10 163 EMIT_INSTR_PLUS_ICEBP_C64 vaddpd, XMM8, XMM9, FSxBX 164 165 EMIT_INSTR_PLUS_ICEBP vaddpd, YMM1, YMM2, YMM3 166 160 167 ; 161 168 ;; [v]addps … … 166 173 EMIT_INSTR_PLUS_ICEBP_C64 addps, XMM8, FSxBX 167 174 175 EMIT_INSTR_PLUS_ICEBP vaddps, XMM1, XMM2, XMM3 176 EMIT_INSTR_PLUS_ICEBP vaddps, XMM1, XMM2, FSxBX 177 EMIT_INSTR_PLUS_ICEBP_C64 vaddps, XMM8, XMM9, XMM10 178 EMIT_INSTR_PLUS_ICEBP_C64 vaddps, XMM8, XMM9, FSxBX 179 168 180 %endif ; BS3_INSTANTIATING_CMN 169 181 -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32
r104768 r104771 168 168 RM_REG = 0, 169 169 RM_MEM, 170 RM_MEM8, /**< Memory operand is 8 b its. Hack for movss and similar. */171 RM_MEM16, /**< Memory operand is 16 b its. Hack for movss and similar. */172 RM_MEM32, /**< Memory operand is 32 b its. Hack for movss and similar. */173 RM_MEM64 /**< Memory operand is 64 b its. Hack for movss and similar. */170 RM_MEM8, /**< Memory operand is 8 bytes. Hack for movss and similar. */ 171 RM_MEM16, /**< Memory operand is 16 bytes. Hack for movss and similar. */ 172 RM_MEM32, /**< Memory operand is 32 bytes. Hack for movss and similar. */ 173 RM_MEM64 /**< Memory operand is 64 bytes. Hack for movss and similar. */ 174 174 }; 175 175 … … 321 321 { 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, X86_XCPT_DB, X86_XCPT_UD }, /* #9 */ 322 322 /* Memory misalignment and alignment checks: */ 323 { 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, X86_XCPT_GP, X86_XCPT_ GP}, /* #10 */324 { 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, X86_XCPT_GP, X86_XCPT_ GP}, /* #11 */323 { 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, X86_XCPT_GP, X86_XCPT_DB }, /* #10 */ 324 { 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, X86_XCPT_GP, X86_XCPT_DB }, /* #11 */ 325 325 { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, X86_XCPT_DB, X86_XCPT_DB }, /* #12 */ 326 326 /* AMD only: */ … … 328 328 { 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, X86_XCPT_AC, X86_XCPT_GP }, /* #14 */ 329 329 }; 330 330 331 331 332 … … 1355 1356 * Infinity. 1356 1357 */ 1358 #if 0 1357 1359 /* 5*/{ { /*src2 */ { BS3_FP64_INF(0), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, 1358 1360 { /*src1 */ { BS3_FP64_INF(1), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, … … 1373 1375 /*daz,fz,rc*/ 1, 1, X86_MXCSR_RC_UP, 1374 1376 /*flags */ X86_MXCSR_IE }, 1377 #endif 1375 1378 /* 8*/{ { /*src2 */ { BS3_FP64_INF(0), BS3_FP64_INF(1), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, 1376 1379 { /*src1 */ { BS3_FP64_INF(1), BS3_FP64_INF(0), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, … … 1382 1385 * Overflow. 1383 1386 */ 1387 #if 0 1384 1388 /* 9*/{ { /*src2 */ { BS3_FP64_ZERO(0), BS3_FP64_NORMAL_MAX(1), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, 1385 1389 { /*src1 */ { BS3_FP64_ZERO(0), BS3_FP64_NORMAL_MAX(1), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, … … 1394 1398 /*daz,fz,rc*/ 0, 0, X86_MXCSR_RC_NEAREST, 1395 1399 /*flags */ X86_MXCSR_OE }, 1400 #endif 1396 1401 /*11*/{ { /*src2 */ { BS3_FP64_NORMAL_MAX(0), BS3_FP64_NORMAL_MIN(1), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, 1397 1402 { /*src1 */ { BS3_FP64_NORMAL_MAX(0), BS3_FP64_NORMAL_MIN(1), BS3_FP64_ZERO(0), BS3_FP64_ZERO(0) } }, … … 1451 1456 { bs3CpuInstrX_addpd_XMM1_XMM2_icebp_c16, 255, RM_REG, T_SSE2, 1, 1, 2, RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues }, 1452 1457 { bs3CpuInstrX_addpd_XMM1_FSxBX_icebp_c16, 255, RM_MEM, T_SSE2, 1, 1, 255, RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues }, 1458 1459 { bs3CpuInstrX_vaddpd_XMM1_XMM2_XMM3_icebp_c16, X86_XCPT_GP, RM_REG, T_AVX_128, 1, 2, 3, RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues }, 1460 { bs3CpuInstrX_vaddpd_XMM1_XMM2_FSxBX_icebp_c16, X86_XCPT_GP, RM_MEM, T_AVX_128, 1, 2, 255, RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues }, 1461 1462 { bs3CpuInstrX_vaddpd_YMM1_YMM2_YMM3_icebp_c16, X86_XCPT_GP, RM_REG, T_AVX2_256, 1, 2, 3, RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues }, 1453 1463 }; 1454 1464 static BS3CPUINSTR4_TEST1_T const s_aTests32[] =
Note:
See TracChangeset
for help on using the changeset viewer.