VirtualBox

Changeset 106334 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Oct 16, 2024 3:01:44 AM (3 months ago)
Author:
vboxsync
Message:

ValidationKit/bootsectors: SIMD FP testcases: clean up PASS_s_aValues macros; bugref:10658

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32

    r106333 r106334  
    24852485    { { a_aTests16, RT_ELEMENTS(a_aTests16) }, { a_aTests32, RT_ELEMENTS(a_aTests32) }, { a_aTests64, RT_ELEMENTS(a_aTests64) } }
    24862486
     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
    24872492typedef struct BS3CPUINSTR4_TEST1_CTX_T
    24882493{
     
    33643369    };
    33653370
    3366 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    33673371    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    33683372    {
     
    34063410        { bs3CpuInstr4_vaddps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    34073411    };
    3408 #undef PASS_s_aValues
    34093412
    34103413    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    36353638    };
    36363639
    3637 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    36383640    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    36393641    {
     
    36773679        { bs3CpuInstr4_vaddpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    36783680    };
    3679 #undef PASS_s_aValues
    36803681
    36813682    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    39413942    };
    39423943
    3943 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    39443944    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    39453945    {
     
    39723972        { bs3CpuInstr4_vaddss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    39733973    };
    3974 #undef PASS_s_aValues
    39753974
    39763975    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    42504249    };
    42514250
    4252 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    42534251    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    42544252    {
     
    42814279        { bs3CpuInstr4_vaddsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    42824280    };
    4283 #undef PASS_s_aValues
    42844281
    42854282    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    45724569    };
    45734570
    4574 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    45754571    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    45764572    {
     
    46144610        { bs3CpuInstr4_vhaddps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    46154611    };
    4616 #undef PASS_s_aValues
    46174612
    46184613    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    48754870    };
    48764871
    4877 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    48784872    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    48794873    {
     
    49174911        { bs3CpuInstr4_vhaddpd_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    49184912    };
    4919 #undef PASS_s_aValues
    49204913
    49214914    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    52525245    };
    52535246
    5254 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    52555247    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    52565248    {
     
    52945286        { bs3CpuInstr4_vsubps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    52955287    };
    5296 #undef PASS_s_aValues
    52975288
    52985289    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    55395530    };
    55405531
    5541 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    55425532    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    55435533    {
     
    55815571        { bs3CpuInstr4_vsubpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    55825572    };
    5583 #undef PASS_s_aValues
    55845573
    55855574    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    58515840    };
    58525841
    5853 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    58545842    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    58555843    {
     
    58825870        { bs3CpuInstr4_vsubss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    58835871    };
    5884 #undef PASS_s_aValues
    58855872
    58865873    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    61816168    };
    61826169
    6183 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    61846170    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    61856171    {
     
    62126198        { bs3CpuInstr4_vsubsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    62136199    };
    6214 #undef PASS_s_aValues
    62156200
    62166201    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    65036488    };
    65046489
    6505 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    65066490    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    65076491    {
     
    65456529        { bs3CpuInstr4_vhsubps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    65466530    };
    6547 #undef PASS_s_aValues
    65486531
    65496532    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    67786761    };
    67796762
    6780 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    67816763    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    67826764    {
     
    68206802        { bs3CpuInstr4_vhsubpd_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    68216803    };
    6822 #undef PASS_s_aValues
    68236804
    68246805    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    71797160    };
    71807161
    7181 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    71827162    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    71837163    {
     
    72217201        { bs3CpuInstr4_vmulps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    72227202    };
    7223 #undef PASS_s_aValues
    72247203
    72257204    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    74587437    };
    74597438
    7460 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    74617439    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    74627440    {
     
    75007478        { bs3CpuInstr4_vmulpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    75017479    };
    7502 #undef PASS_s_aValues
    75037480
    75047481    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    76997676    };
    77007677
    7701 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    77027678    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    77037679    {
     
    77307706        { bs3CpuInstr4_vmulss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    77317707    };
    7732 #undef PASS_s_aValues
    77337708
    77347709    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    79957970    };
    79967971
    7997 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    79987972    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    79997973    {
     
    80268000        { bs3CpuInstr4_vmulsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    80278001    };
    8028 #undef PASS_s_aValues
    80298002
    80308003    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    83428315    };
    83438316
    8344 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    83458317    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    83468318    {
     
    83848356        { bs3CpuInstr4_vdivps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    83858357    };
    8386 #undef PASS_s_aValues
    83878358
    83888359    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    86798650    };
    86808651
    8681 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    86828652    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    86838653    {
     
    87218691        { bs3CpuInstr4_vdivpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    87228692    };
    8723 #undef PASS_s_aValues
    87248693
    87258694    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    89228891/** @todo Make cdefs.h 'RT_ELEMENTS(arr), arr' macro?  But extra cast, here. */
    89238892/** @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_aValues
    89258893    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    89268894    {
     
    89538921        { bs3CpuInstr4_vdivss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    89548922    };
    8955 #undef PASS_s_aValues
    89568923
    89578924    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    92989265    };
    92999266
    9300 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    93019267    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    93029268    {
     
    93299295        { bs3CpuInstr4_vdivsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    93309296    };
    9331 #undef PASS_s_aValues
    93329297
    93339298    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    96559620    };
    96569621
    9657 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    96589622    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    96599623    {
     
    96979661        { bs3CpuInstr4_vaddsubps_YMM13_YMM14_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 13, 14, 255, PASS_s_aValues },
    96989662    };
    9699 #undef PASS_s_aValues
    97009663
    97019664    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1010510068    };
    1010610069
    10107 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1010810070    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1010910071    {
     
    1014710109        { bs3CpuInstr4_vaddsubpd_YMM13_YMM14_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 13, 14, 255, PASS_s_aValues },
    1014810110    };
    10149 #undef PASS_s_aValues
    1015010111
    1015110112    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1039010351    };
    1039110352
    10392 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1039310353    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1039410354    {
     
    1043210392        { bs3CpuInstr4_vmaxps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    1043310393    };
    10434 #undef PASS_s_aValues
    1043510394
    1043610395    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1067710636    };
    1067810637
    10679 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1068010638    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1068110639    {
     
    1071910677        { bs3CpuInstr4_vmaxpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    1072010678    };
    10721 #undef PASS_s_aValues
    1072210679
    1072310680    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1108911046    };
    1109011047
    11091 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1109211048    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1109311049    {
     
    1112011076        { bs3CpuInstr4_vmaxss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    1112111077    };
    11122 #undef PASS_s_aValues
    1112311078
    1112411079    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1149211447    };
    1149311448
    11494 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1149511449    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1149611450    {
     
    1152311477        { bs3CpuInstr4_vmaxsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    1152411478    };
    11525 #undef PASS_s_aValues
    1152611479
    1152711480    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1176611719    };
    1176711720
    11768 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1176911721    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1177011722    {
     
    1180811760        { bs3CpuInstr4_vminps_YMM8_YMM9_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    1180911761    };
    11810 #undef PASS_s_aValues
    1181111762
    1181211763    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1205312004    };
    1205412005
    12055 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1205612006    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1205712007    {
     
    1209512045        { bs3CpuInstr4_vminpd_YMM8_YMM9_FSxBX_icebp_c64, X86_XCPT_GP, RM_MEM, T_AVX_256, 8, 9, 255, PASS_s_aValues },
    1209612046    };
    12097 #undef PASS_s_aValues
    1209812047
    1209912048    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1246512414    };
    1246612415
    12467 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1246812416    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1246912417    {
     
    1249612444        { bs3CpuInstr4_vminss_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    1249712445    };
    12498 #undef PASS_s_aValues
    1249912446
    1250012447    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1286812815    };
    1286912816
    12870 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1287112817    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1287212818    {
     
    1289912845        { bs3CpuInstr4_vminsd_XMM8_XMM9_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 8, 9, 255, PASS_s_aValues },
    1290012846    };
    12901 #undef PASS_s_aValues
    1290212847
    1290312848    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1319013135    };
    1319113136
    13192 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1319313137    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1319413138    {
     
    1323213176        { bs3CpuInstr4_vrcpps_YMM8_FSxBX_icebp_c64, 255, RM_MEM, T_AVX_256, 8, 8, 255, PASS_s_aValues },
    1323313177    };
    13234 #undef PASS_s_aValues
    1323513178
    1323613179    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1405413997    };
    1405513998
    14056 #define PASS_s_aValues   RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    14057 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR
    1405813999    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1405914000    {
     
    1410914050        { bs3CpuInstr4_vrcpss_XMM13_XMM14_XMM14_icebp_c64, X86_XCPT_AC, RM_REG, T_AVX_128, 13, 14, 14,  PASS_s_aValuesSR },
    1411014051    };
    14111 #undef PASS_s_aValues
    14112 #undef PASS_s_aValuesSR
    1411314052
    1411414053    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1436614305    };
    1436714306
    14368 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1436914307    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1437014308    {
     
    1442214360        { bs3CpuInstr4_vsqrtps_YMM8_YMM8_icebp_c64,  255, RM_REG, T_AVX_256, 8, 8, 8,   PASS_s_aValues },
    1442314361    };
    14424 #undef PASS_s_aValues
    1442514362
    1442614363    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1463414571    };
    1463514572
    14636 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1463714573    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1463814574    {
     
    1469014626        { bs3CpuInstr4_vsqrtpd_YMM8_YMM8_icebp_c64,  255, RM_REG, T_AVX_256, 8, 8, 8,   PASS_s_aValues },
    1469114627    };
    14692 #undef PASS_s_aValues
    1469314628
    1469414629    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1498514920    /*44*/ /* FP64_TABLE_D10_SS_INVALIDS */
    1498614921    };
    14987 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1498814922
    1498914923    /* Sanity-check subset for 'same register' instruction variants */
     
    1507115005    /*11*/ /* FP64_TABLE_D10_SS_INVALIDS // or excerpt? */
    1507215006    };
    15073 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR
    1507415007
    1507515008    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
     
    1512315056        { bs3CpuInstr4_vsqrtss_XMM1_XMM1_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 1, 1, 255, PASS_s_aValues   },
    1512415057    };
    15125 #undef PASS_s_aValues
    15126 #undef PASS_s_aValuesSR
    1512715058
    1512815059    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1541915350    /*44*/ /* FP64_TABLE_D10_SD_INVALIDS */
    1542015351    };
    15421 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1542215352
    1542315353    /* Sanity-check subset for 'same register' instruction variants */
     
    1550515435    /*11*/ /* FP64_TABLE_D10_SD_INVALIDS // or excerpt? */
    1550615436    };
    15507 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR
    1550815437
    1550915438    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
     
    1555715486        { bs3CpuInstr4_vsqrtsd_XMM1_XMM1_FSxBX_icebp_c64, X86_XCPT_AC, RM_MEM, T_AVX_128, 1, 1, 255, PASS_s_aValues   },
    1555815487    };
    15559 #undef PASS_s_aValues
    15560 #undef PASS_s_aValuesSR
    1556115488
    1556215489    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1576015687    };
    1576115688
    15762 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1576315689    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1576415690    {
     
    1581615742        { bs3CpuInstr4_vrsqrtps_YMM8_YMM8_icebp_c64,  255, RM_REG, T_AVX_256, 8, 8, 8,   PASS_s_aValues },
    1581715743    };
    15818 #undef PASS_s_aValues
    1581915744
    1582015745    static BS3CPUINSTR4_TEST1_MODE_T const s_aTests[3] = BS3CPUINSTR4_TEST1_MODES_INIT(s_aTests16, s_aTests32, s_aTests64);
     
    1599615921    /*25*/ /* FP32_TABLE_D10_SS_INVALIDS */
    1599715922    };
    15998 #define PASS_s_aValues RT_ELEMENTS(s_aValues), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValues
    1599915923
    1600015924    /* Sanity-check subset for 'same register' instruction variants */
     
    1602315947              /*256:out  */ -1 },
    1602415948    };
    16025 #define PASS_s_aValuesSR RT_ELEMENTS(s_aValuesSR), (BS3CPUINSTR4_TEST1_VALUES_T *)s_aValuesSR
    1602615949    static BS3CPUINSTR4_TEST1_T const s_aTests16[] =
    1602715950    {
     
    1607315996        { bs3CpuInstr4_vrsqrtss_XMM8_XMM8_XMM8_icebp_c64,  X86_XCPT_AC, RM_REG, T_AVX_128, 8, 8, 8,   PASS_s_aValuesSR },
    1607415997    };
    16075 #undef PASS_s_aValues
    16076 #undef PASS_s_aValuesSR
    1607715998
    1607815999    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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette