Changeset 106334 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Oct 16, 2024 3:01:44 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32
r106333 r106334 2485 2485 { { a_aTests16, RT_ELEMENTS(a_aTests16) }, { a_aTests32, RT_ELEMENTS(a_aTests32) }, { a_aTests64, RT_ELEMENTS(a_aTests64) } } 2486 2486 2487 /** Utility macros for inserting value table references into test arrays. */ 2488 #define PASS_s_aArray(s_aValues) RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues 2489 #define PASS_s_aValues PASS_s_aArray(s_aValues) 2490 #define PASS_s_aValuesSR PASS_s_aArray(s_aValuesSR) 2491 2487 2492 typedef struct BS3CPUINSTR4_TEST1_CTX_T 2488 2493 { … … 3364 3369 }; 3365 3370 3366 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues3367 3371 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 3368 3372 { … … 3406 3410 { bs3CpuInstr4_vaddps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 3407 3411 }; 3408 #undef PASS_s_aValues3409 3412 3410 3413 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 3635 3638 }; 3636 3639 3637 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues3638 3640 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 3639 3641 { … … 3677 3679 { bs3CpuInstr4_vaddpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 3678 3680 }; 3679 #undef PASS_s_aValues3680 3681 3681 3682 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 3941 3942 }; 3942 3943 3943 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues3944 3944 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 3945 3945 { … … 3972 3972 { bs3CpuInstr4_vaddss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 3973 3973 }; 3974 #undef PASS_s_aValues3975 3974 3976 3975 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 4250 4249 }; 4251 4250 4252 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues4253 4251 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 4254 4252 { … … 4281 4279 { bs3CpuInstr4_vaddsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 4282 4280 }; 4283 #undef PASS_s_aValues4284 4281 4285 4282 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 4572 4569 }; 4573 4570 4574 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues4575 4571 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 4576 4572 { … … 4614 4610 { bs3CpuInstr4_vhaddps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 4615 4611 }; 4616 #undef PASS_s_aValues4617 4612 4618 4613 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 4875 4870 }; 4876 4871 4877 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues4878 4872 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 4879 4873 { … … 4917 4911 { bs3CpuInstr4_vhaddpd_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 4918 4912 }; 4919 #undef PASS_s_aValues4920 4913 4921 4914 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 5252 5245 }; 5253 5246 5254 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues5255 5247 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 5256 5248 { … … 5294 5286 { bs3CpuInstr4_vsubps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 5295 5287 }; 5296 #undef PASS_s_aValues5297 5288 5298 5289 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 5539 5530 }; 5540 5531 5541 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues5542 5532 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 5543 5533 { … … 5581 5571 { bs3CpuInstr4_vsubpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 5582 5572 }; 5583 #undef PASS_s_aValues5584 5573 5585 5574 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 5851 5840 }; 5852 5841 5853 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues5854 5842 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 5855 5843 { … … 5882 5870 { bs3CpuInstr4_vsubss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 5883 5871 }; 5884 #undef PASS_s_aValues5885 5872 5886 5873 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 6181 6168 }; 6182 6169 6183 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues6184 6170 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 6185 6171 { … … 6212 6198 { bs3CpuInstr4_vsubsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 6213 6199 }; 6214 #undef PASS_s_aValues6215 6200 6216 6201 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 6503 6488 }; 6504 6489 6505 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues6506 6490 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 6507 6491 { … … 6545 6529 { bs3CpuInstr4_vhsubps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 6546 6530 }; 6547 #undef PASS_s_aValues6548 6531 6549 6532 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 6778 6761 }; 6779 6762 6780 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues6781 6763 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 6782 6764 { … … 6820 6802 { bs3CpuInstr4_vhsubpd_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 6821 6803 }; 6822 #undef PASS_s_aValues6823 6804 6824 6805 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 7179 7160 }; 7180 7161 7181 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues7182 7162 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 7183 7163 { … … 7221 7201 { bs3CpuInstr4_vmulps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 7222 7202 }; 7223 #undef PASS_s_aValues7224 7203 7225 7204 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 7458 7437 }; 7459 7438 7460 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues7461 7439 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 7462 7440 { … … 7500 7478 { bs3CpuInstr4_vmulpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 7501 7479 }; 7502 #undef PASS_s_aValues7503 7480 7504 7481 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 7699 7676 }; 7700 7677 7701 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues7702 7678 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 7703 7679 { … … 7730 7706 { bs3CpuInstr4_vmulss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 7731 7707 }; 7732 #undef PASS_s_aValues7733 7708 7734 7709 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 7995 7970 }; 7996 7971 7997 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues7998 7972 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 7999 7973 { … … 8026 8000 { bs3CpuInstr4_vmulsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 8027 8001 }; 8028 #undef PASS_s_aValues8029 8002 8030 8003 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 8342 8315 }; 8343 8316 8344 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues8345 8317 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 8346 8318 { … … 8384 8356 { bs3CpuInstr4_vdivps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 8385 8357 }; 8386 #undef PASS_s_aValues8387 8358 8388 8359 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 8679 8650 }; 8680 8651 8681 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues8682 8652 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 8683 8653 { … … 8721 8691 { bs3CpuInstr4_vdivpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 8722 8692 }; 8723 #undef PASS_s_aValues8724 8693 8725 8694 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 8922 8891 /** @todo Make cdefs.h 'RT_ELEMENTS(arr), arr' macro? But extra cast, here. */ 8923 8892 /** @todo Do this to existing instr-4 tests? instr-3? Beyond? */ 8924 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues8925 8893 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 8926 8894 { … … 8953 8921 { bs3CpuInstr4_vdivss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 8954 8922 }; 8955 #undef PASS_s_aValues8956 8923 8957 8924 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 9298 9265 }; 9299 9266 9300 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues9301 9267 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 9302 9268 { … … 9329 9295 { bs3CpuInstr4_vdivsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 9330 9296 }; 9331 #undef PASS_s_aValues9332 9297 9333 9298 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 9655 9620 }; 9656 9621 9657 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues9658 9622 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 9659 9623 { … … 9697 9661 { bs3CpuInstr4_vaddsubps_YMM13_YMM14_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 13, 14, 255, PASS_s_aValues }, 9698 9662 }; 9699 #undef PASS_s_aValues9700 9663 9701 9664 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 10105 10068 }; 10106 10069 10107 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues10108 10070 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 10109 10071 { … … 10147 10109 { bs3CpuInstr4_vaddsubpd_YMM13_YMM14_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 13, 14, 255, PASS_s_aValues }, 10148 10110 }; 10149 #undef PASS_s_aValues10150 10111 10151 10112 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 10390 10351 }; 10391 10352 10392 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues10393 10353 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 10394 10354 { … … 10432 10392 { bs3CpuInstr4_vmaxps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 10433 10393 }; 10434 #undef PASS_s_aValues10435 10394 10436 10395 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 10677 10636 }; 10678 10637 10679 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues10680 10638 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 10681 10639 { … … 10719 10677 { bs3CpuInstr4_vmaxpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 10720 10678 }; 10721 #undef PASS_s_aValues10722 10679 10723 10680 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 11089 11046 }; 11090 11047 11091 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues11092 11048 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 11093 11049 { … … 11120 11076 { bs3CpuInstr4_vmaxss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 11121 11077 }; 11122 #undef PASS_s_aValues11123 11078 11124 11079 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 11492 11447 }; 11493 11448 11494 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues11495 11449 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 11496 11450 { … … 11523 11477 { bs3CpuInstr4_vmaxsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 11524 11478 }; 11525 #undef PASS_s_aValues11526 11479 11527 11480 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 11766 11719 }; 11767 11720 11768 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues11769 11721 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 11770 11722 { … … 11808 11760 { bs3CpuInstr4_vminps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 11809 11761 }; 11810 #undef PASS_s_aValues11811 11762 11812 11763 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 12053 12004 }; 12054 12005 12055 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues12056 12006 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 12057 12007 { … … 12095 12045 { bs3CpuInstr4_vminpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues }, 12096 12046 }; 12097 #undef PASS_s_aValues12098 12047 12099 12048 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 12465 12414 }; 12466 12415 12467 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues12468 12416 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 12469 12417 { … … 12496 12444 { bs3CpuInstr4_vminss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 12497 12445 }; 12498 #undef PASS_s_aValues12499 12446 12500 12447 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 12868 12815 }; 12869 12816 12870 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues12871 12817 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 12872 12818 { … … 12899 12845 { bs3CpuInstr4_vminsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues }, 12900 12846 }; 12901 #undef PASS_s_aValues12902 12847 12903 12848 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 13190 13135 }; 13191 13136 13192 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues13193 13137 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 13194 13138 { … … 13232 13176 { bs3CpuInstr4_vrcpps_YMM8_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 8, 255, PASS_s_aValues }, 13233 13177 }; 13234 #undef PASS_s_aValues13235 13178 13236 13179 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 14054 13997 }; 14055 13998 14056 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues14057 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR14058 13999 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 14059 14000 { … … 14109 14050 { bs3CpuInstr4_vrcpss_XMM13_XMM14_XMM14_icebp_c64, X86_XCPT_AC, RM_REG, T_AVX_128, 13, 14, 14, PASS_s_aValuesSR }, 14110 14051 }; 14111 #undef PASS_s_aValues14112 #undef PASS_s_aValuesSR14113 14052 14114 14053 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 14366 14305 }; 14367 14306 14368 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues14369 14307 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 14370 14308 { … … 14422 14360 { bs3CpuInstr4_vsqrtps_YMM8_YMM8_icebp_c64, 255, RM_REG, T_AVX_256, 8, 8, 8, PASS_s_aValues }, 14423 14361 }; 14424 #undef PASS_s_aValues14425 14362 14426 14363 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 14634 14571 }; 14635 14572 14636 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues14637 14573 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 14638 14574 { … … 14690 14626 { bs3CpuInstr4_vsqrtpd_YMM8_YMM8_icebp_c64, 255, RM_REG, T_AVX_256, 8, 8, 8, PASS_s_aValues }, 14691 14627 }; 14692 #undef PASS_s_aValues14693 14628 14694 14629 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 14985 14920 /*44*/ /* FP64_TABLE_D10_SS_INVALIDS */ 14986 14921 }; 14987 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues14988 14922 14989 14923 /* Sanity-check subset for 'same register' instruction variants */ … … 15071 15005 /*11*/ /* FP64_TABLE_D10_SS_INVALIDS // or excerpt? */ 15072 15006 }; 15073 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR15074 15007 15075 15008 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = … … 15123 15056 { bs3CpuInstr4_vsqrtss_XMM1_XMM1_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 1, 1, 255, PASS_s_aValues }, 15124 15057 }; 15125 #undef PASS_s_aValues15126 #undef PASS_s_aValuesSR15127 15058 15128 15059 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 15419 15350 /*44*/ /* FP64_TABLE_D10_SD_INVALIDS */ 15420 15351 }; 15421 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues15422 15352 15423 15353 /* Sanity-check subset for 'same register' instruction variants */ … … 15505 15435 /*11*/ /* FP64_TABLE_D10_SD_INVALIDS // or excerpt? */ 15506 15436 }; 15507 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR15508 15437 15509 15438 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = … … 15557 15486 { bs3CpuInstr4_vsqrtsd_XMM1_XMM1_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 1, 1, 255, PASS_s_aValues }, 15558 15487 }; 15559 #undef PASS_s_aValues15560 #undef PASS_s_aValuesSR15561 15488 15562 15489 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 15760 15687 }; 15761 15688 15762 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues15763 15689 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 15764 15690 { … … 15816 15742 { bs3CpuInstr4_vrsqrtps_YMM8_YMM8_icebp_c64, 255, RM_REG, T_AVX_256, 8, 8, 8, PASS_s_aValues }, 15817 15743 }; 15818 #undef PASS_s_aValues15819 15744 15820 15745 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64); … … 15996 15921 /*25*/ /* FP32_TABLE_D10_SS_INVALIDS */ 15997 15922 }; 15998 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues15999 15923 16000 15924 /* Sanity-check subset for 'same register' instruction variants */ … … 16023 15947 /*256:out */ -1 }, 16024 15948 }; 16025 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR16026 15949 static BS3CPUINSTR4_TEST1_T const s_aTests16[] = 16027 15950 { … … 16073 15996 { bs3CpuInstr4_vrsqrtss_XMM8_XMM8_XMM8_icebp_c64, X86_XCPT_AC, RM_REG, T_AVX_128, 8, 8, 8, PASS_s_aValuesSR }, 16074 15997 }; 16075 #undef PASS_s_aValues16076 #undef PASS_s_aValuesSR16077 15998 16078 15999 static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
Note:
See TracChangeset
for help on using the changeset viewer.