VirtualBox

Changeset 96380 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Aug 20, 2022 7:25:42 PM (2 years ago)
Author:
vboxsync
Message:

VMM/testcase/tstIEMAImpl: Implement basic cvtss2sd/cvtsd2ss testcases, bugref:9898

Location:
trunk/src/VBox/VMM/testcase
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r96352 r96380  
    256256        tstIEMAImplDataSseBinary-divsd_u128_r64.bin \
    257257        tstIEMAImplDataSseBinary-maxss_u128_r32.bin \
    258         tstIEMAImplDataSseBinary-maxsd_u128_r64.bin
     258        tstIEMAImplDataSseBinary-maxsd_u128_r64.bin \
     259        tstIEMAImplDataSseBinary-cvtss2sd_u128_r32.bin \
     260        tstIEMAImplDataSseBinary-cvtsd2ss_u128_r64.bin
    259261
    260262tstIEMAImpl_TEMPLATE  = VBOXR3TSTEXE
  • trunk/src/VBox/VMM/testcase/tstIEMAImpl.cpp

    r96352 r96380  
    48534853    ENTRY_BIN(divss_u128_r32),
    48544854    ENTRY_BIN(maxss_u128_r32),
     4855    ENTRY_BIN(cvtss2sd_u128_r32),
    48554856};
    48564857
     
    50425043    ENTRY_BIN(divsd_u128_r64),
    50435044    ENTRY_BIN(maxsd_u128_r64),
     5045    ENTRY_BIN(cvtsd2ss_u128_r64),
    50445046};
    50455047
  • trunk/src/VBox/VMM/testcase/tstIEMAImpl.h

    r96352 r96380  
    764764TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R32_TEST_T, divss_u128_r32           );
    765765TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R32_TEST_T, maxss_u128_r32           );
     766TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R32_TEST_T, cvtss2sd_u128_r32        );
    766767
    767768TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_TEST_T,          addpd_u128               );
     
    778779TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R64_TEST_T, divsd_u128_r64           );
    779780TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R64_TEST_T, maxsd_u128_r64           );
     781TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R64_TEST_T, cvtsd2ss_u128_r64        );
    780782
    781783RT_C_DECLS_END
  • trunk/src/VBox/VMM/testcase/tstIEMAImplDataSseBinary.S

    r96378 r96380  
    5050.endm
    5151
    52 IEM_TEST_DATA addps_u128,     "tstIEMAImplDataSseBinary-addps_u128.bin"
    53 IEM_TEST_DATA mulps_u128,     "tstIEMAImplDataSseBinary-mulps_u128.bin"
    54 IEM_TEST_DATA subps_u128,     "tstIEMAImplDataSseBinary-subps_u128.bin"
    55 IEM_TEST_DATA minps_u128,     "tstIEMAImplDataSseBinary-minps_u128.bin"
    56 IEM_TEST_DATA divps_u128,     "tstIEMAImplDataSseBinary-divps_u128.bin"
    57 IEM_TEST_DATA maxps_u128,     "tstIEMAImplDataSseBinary-maxps_u128.bin"
     52IEM_TEST_DATA addps_u128,        "tstIEMAImplDataSseBinary-addps_u128.bin"
     53IEM_TEST_DATA mulps_u128,        "tstIEMAImplDataSseBinary-mulps_u128.bin"
     54IEM_TEST_DATA subps_u128,        "tstIEMAImplDataSseBinary-subps_u128.bin"
     55IEM_TEST_DATA minps_u128,        "tstIEMAImplDataSseBinary-minps_u128.bin"
     56IEM_TEST_DATA divps_u128,        "tstIEMAImplDataSseBinary-divps_u128.bin"
     57IEM_TEST_DATA maxps_u128,        "tstIEMAImplDataSseBinary-maxps_u128.bin"
    5858
    59 IEM_TEST_DATA addss_u128_r32, "tstIEMAImplDataSseBinary-addss_u128_r32.bin"
    60 IEM_TEST_DATA mulss_u128_r32, "tstIEMAImplDataSseBinary-mulss_u128_r32.bin"
    61 IEM_TEST_DATA subss_u128_r32, "tstIEMAImplDataSseBinary-subss_u128_r32.bin"
    62 IEM_TEST_DATA minss_u128_r32, "tstIEMAImplDataSseBinary-minss_u128_r32.bin"
    63 IEM_TEST_DATA divss_u128_r32, "tstIEMAImplDataSseBinary-divss_u128_r32.bin"
    64 IEM_TEST_DATA maxss_u128_r32, "tstIEMAImplDataSseBinary-maxss_u128_r32.bin"
     59IEM_TEST_DATA addss_u128_r32,    "tstIEMAImplDataSseBinary-addss_u128_r32.bin"
     60IEM_TEST_DATA mulss_u128_r32,    "tstIEMAImplDataSseBinary-mulss_u128_r32.bin"
     61IEM_TEST_DATA subss_u128_r32,    "tstIEMAImplDataSseBinary-subss_u128_r32.bin"
     62IEM_TEST_DATA minss_u128_r32,    "tstIEMAImplDataSseBinary-minss_u128_r32.bin"
     63IEM_TEST_DATA divss_u128_r32,    "tstIEMAImplDataSseBinary-divss_u128_r32.bin"
     64IEM_TEST_DATA maxss_u128_r32,    "tstIEMAImplDataSseBinary-maxss_u128_r32.bin"
     65IEM_TEST_DATA cvtss2sd_u128_r32, "tstIEMAImplDataSseBinary-cvtss2sd_u128_r32.bin"
    6566
    66 IEM_TEST_DATA addpd_u128,     "tstIEMAImplDataSseBinary-addpd_u128.bin"
    67 IEM_TEST_DATA mulpd_u128,     "tstIEMAImplDataSseBinary-mulpd_u128.bin"
    68 IEM_TEST_DATA subpd_u128,     "tstIEMAImplDataSseBinary-subpd_u128.bin"
    69 IEM_TEST_DATA minpd_u128,     "tstIEMAImplDataSseBinary-minpd_u128.bin"
    70 IEM_TEST_DATA divpd_u128,     "tstIEMAImplDataSseBinary-divpd_u128.bin"
    71 IEM_TEST_DATA maxpd_u128,     "tstIEMAImplDataSseBinary-maxpd_u128.bin"
     67IEM_TEST_DATA addpd_u128,        "tstIEMAImplDataSseBinary-addpd_u128.bin"
     68IEM_TEST_DATA mulpd_u128,        "tstIEMAImplDataSseBinary-mulpd_u128.bin"
     69IEM_TEST_DATA subpd_u128,        "tstIEMAImplDataSseBinary-subpd_u128.bin"
     70IEM_TEST_DATA minpd_u128,        "tstIEMAImplDataSseBinary-minpd_u128.bin"
     71IEM_TEST_DATA divpd_u128,        "tstIEMAImplDataSseBinary-divpd_u128.bin"
     72IEM_TEST_DATA maxpd_u128,        "tstIEMAImplDataSseBinary-maxpd_u128.bin"
    7273
    73 IEM_TEST_DATA addsd_u128_r64, "tstIEMAImplDataSseBinary-addsd_u128_r64.bin"
    74 IEM_TEST_DATA mulsd_u128_r64, "tstIEMAImplDataSseBinary-mulsd_u128_r64.bin"
    75 IEM_TEST_DATA subsd_u128_r64, "tstIEMAImplDataSseBinary-subsd_u128_r64.bin"
    76 IEM_TEST_DATA minsd_u128_r64, "tstIEMAImplDataSseBinary-minsd_u128_r64.bin"
    77 IEM_TEST_DATA divsd_u128_r64, "tstIEMAImplDataSseBinary-divsd_u128_r64.bin"
    78 IEM_TEST_DATA maxsd_u128_r64, "tstIEMAImplDataSseBinary-maxsd_u128_r64.bin"
    79 
     74IEM_TEST_DATA addsd_u128_r64,    "tstIEMAImplDataSseBinary-addsd_u128_r64.bin"
     75IEM_TEST_DATA mulsd_u128_r64,    "tstIEMAImplDataSseBinary-mulsd_u128_r64.bin"
     76IEM_TEST_DATA subsd_u128_r64,    "tstIEMAImplDataSseBinary-subsd_u128_r64.bin"
     77IEM_TEST_DATA minsd_u128_r64,    "tstIEMAImplDataSseBinary-minsd_u128_r64.bin"
     78IEM_TEST_DATA divsd_u128_r64,    "tstIEMAImplDataSseBinary-divsd_u128_r64.bin"
     79IEM_TEST_DATA maxsd_u128_r64,    "tstIEMAImplDataSseBinary-maxsd_u128_r64.bin"
     80IEM_TEST_DATA cvtsd2ss_u128_r64, "tstIEMAImplDataSseBinary-cvtsd2ss_u128_r64.bin"
  • trunk/src/VBox/VMM/testcase/tstIEMAImplDataSseBinary.asm

    r96352 r96380  
    6161IEM_TEST_DATA divss_u128_r32, "tstIEMAImplDataSseBinary-divss_u128_r32.bin"
    6262IEM_TEST_DATA maxss_u128_r32, "tstIEMAImplDataSseBinary-maxss_u128_r32.bin"
     63IEM_TEST_DATA cvtss2sd_u128_r32, "tstIEMAImplDataSseBinary-cvtss2sd_u128_r32.bin"
    6364
    6465IEM_TEST_DATA addpd_u128, "tstIEMAImplDataSseBinary-addpd_u128.bin"
     
    7576IEM_TEST_DATA divsd_u128_r64, "tstIEMAImplDataSseBinary-divsd_u128_r64.bin"
    7677IEM_TEST_DATA maxsd_u128_r64, "tstIEMAImplDataSseBinary-maxsd_u128_r64.bin"
     78IEM_TEST_DATA cvtsd2ss_u128_r64, "tstIEMAImplDataSseBinary-cvtsd2ss_u128_r64.bin"
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