Changeset 95988 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Aug 2, 2022 2:48:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-3.c32
r95987 r95988 3374 3374 BS3_DECL_FAR(uint8_t) bs3CpuInstr3_v_pmaxub(uint8_t bMode) 3375 3375 { 3376 #define NO_PMAXUB_64 /** @todo Throws errors on Intel hardware in HM mode. */3377 #ifndef NO_PMAXUB_643378 3376 static BS3CPUINSTR3_TEST1_VALUES_T const s_aValues64[] = 3379 3377 { … … 3386 3384 { /*src2*/ RTUINT256_INIT_C( 4, 5, 7, 0x5555666677778888), 3387 3385 /*src1*/ RTUINT256_INIT_C( 4, 6, 7, 0xddddeeeeffff0000), 3388 /* => */ RTUINT256_INIT_C( 4, 6, 7, 0xddddeeeeffff 0000) },3386 /* => */ RTUINT256_INIT_C( 4, 6, 7, 0xddddeeeeffff8888) }, 3389 3387 { /*src2*/ RTUINT256_INIT_C( 8, 10, 11, 0x9c5ce073930996bb), 3390 3388 /*src1*/ RTUINT256_INIT_C(12, 13, 14, 0x43d3cda0238499fd), 3391 /* => */ RTUINT256_INIT_C(12, 13, 14, 0x9cd3 cda0938499fd) },3389 /* => */ RTUINT256_INIT_C(12, 13, 14, 0x9cd3e0a0938499fd) }, 3392 3390 { /*src2*/ RTUINT256_INIT_C( 8, 10, 11, 0xff820064fffe0042), 3393 3391 /*src1*/ RTUINT256_INIT_C(12, 13, 14, 0x0022fe00ff80ff81), 3394 3392 /* => */ RTUINT256_INIT_C(12, 13, 14, 0xff82fe64fffeff81) }, 3395 3393 }; 3396 #endif3397 3394 static BS3CPUINSTR3_TEST1_VALUES_T const s_aValuesOthers[] = 3398 3395 { … … 3410 3407 static BS3CPUINSTR3_TEST1_T const s_aTests16[] = 3411 3408 { 3412 #ifndef NO_PMAXUB_64 3413 { bs3CpuInstr3_pmaxub_MM1_MM2_icebp_c16, 255, RM_REG, T_SSE, 1, 1, 2, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3414 { bs3CpuInstr3_pmaxub_MM1_FSxBX_icebp_c16, 255, RM_MEM, T_SSE, 1, 1, 255, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3415 #endif 3409 { bs3CpuInstr3_pmaxub_MM1_MM2_icebp_c16, 255, RM_REG, T_MMX_SSE, 1, 1, 2, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3410 { bs3CpuInstr3_pmaxub_MM1_FSxBX_icebp_c16, 255, RM_MEM, T_MMX_SSE, 1, 1, 255, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3416 3411 { bs3CpuInstr3_pmaxub_XMM1_XMM2_icebp_c16, 255, RM_REG, T_SSE2, 1, 1, 2, RT_ELEMENTS(s_aValuesOthers), s_aValuesOthers }, 3417 3412 { bs3CpuInstr3_pmaxub_XMM1_FSxBX_icebp_c16, 255, RM_MEM, T_SSE2, 1, 1, 255, RT_ELEMENTS(s_aValuesOthers), s_aValuesOthers }, … … 3423 3418 static BS3CPUINSTR3_TEST1_T const s_aTests32[] = 3424 3419 { 3425 #ifndef NO_PMAXUB_64 3426 { bs3CpuInstr3_pmaxub_MM1_MM2_icebp_c32, 255, RM_REG, T_SSE, 1, 1, 2, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3427 { bs3CpuInstr3_pmaxub_MM1_FSxBX_icebp_c32, 255, RM_MEM, T_SSE, 1, 1, 255, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3428 #endif 3420 { bs3CpuInstr3_pmaxub_MM1_MM2_icebp_c32, 255, RM_REG, T_MMX_SSE, 1, 1, 2, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3421 { bs3CpuInstr3_pmaxub_MM1_FSxBX_icebp_c32, 255, RM_MEM, T_MMX_SSE, 1, 1, 255, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3429 3422 { bs3CpuInstr3_pmaxub_XMM1_XMM2_icebp_c32, 255, RM_REG, T_SSE2, 1, 1, 2, RT_ELEMENTS(s_aValuesOthers), s_aValuesOthers }, 3430 3423 { bs3CpuInstr3_pmaxub_XMM1_FSxBX_icebp_c32, 255, RM_MEM, T_SSE2, 1, 1, 255, RT_ELEMENTS(s_aValuesOthers), s_aValuesOthers }, … … 3436 3429 static BS3CPUINSTR3_TEST1_T const s_aTests64[] = 3437 3430 { 3438 #ifndef NO_PMAXUB_64 3439 { bs3CpuInstr3_pmaxub_MM1_MM2_icebp_c64, 255, RM_REG, T_SSE, 1, 1, 2, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3440 { bs3CpuInstr3_pmaxub_MM1_FSxBX_icebp_c64, 255, RM_MEM, T_SSE, 1, 1, 255, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3441 #endif 3431 { bs3CpuInstr3_pmaxub_MM1_MM2_icebp_c64, 255, RM_REG, T_MMX_SSE, 1, 1, 2, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3432 { bs3CpuInstr3_pmaxub_MM1_FSxBX_icebp_c64, 255, RM_MEM, T_MMX_SSE, 1, 1, 255, RT_ELEMENTS(s_aValues64), s_aValues64 }, 3442 3433 { bs3CpuInstr3_pmaxub_XMM1_XMM2_icebp_c64, 255, RM_REG, T_SSE2, 1, 1, 2, RT_ELEMENTS(s_aValuesOthers), s_aValuesOthers }, 3443 3434 { bs3CpuInstr3_pmaxub_XMM1_FSxBX_icebp_c64, 255, RM_MEM, T_SSE2, 1, 1, 255, RT_ELEMENTS(s_aValuesOthers), s_aValuesOthers },
Note:
See TracChangeset
for help on using the changeset viewer.