VirtualBox

Ignore:
Timestamp:
Sep 14, 2022 7:19:54 AM (2 years ago)
Author:
vboxsync
Message:

VMM/testcase/tstIEMAImpl: Implement basic cvttsd2si testcase, ​bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstIEMAImpl.h

    r96682 r96724  
    384384    RTFLOAT64U              r64Val2;
    385385} SSE_BINARY_U128_R64_TEST_T;
     386
     387typedef struct SSE_BINARY_I32_R64_TEST_T
     388{
     389    uint32_t                fMxcsrIn;
     390    uint32_t                fMxcsrOut;
     391    uint32_t                u32Padding;
     392    int32_t                 i32ValOut;
     393    RTFLOAT64U              r64ValIn;
     394} SSE_BINARY_I32_R64_TEST_T;
     395
     396typedef struct SSE_BINARY_I64_R64_TEST_T
     397{
     398    uint32_t                fMxcsrIn;
     399    uint32_t                fMxcsrOut;
     400    int64_t                 i64ValOut;
     401    RTFLOAT64U              r64ValIn;
     402} SSE_BINARY_I64_R64_TEST_T;
    386403
    387404/** @} */
     
    803820TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_U128_R64_TEST_T, sqrtsd_u128_r64          );
    804821
     822TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I32_R64_TEST_T,  cvttsd2si_i32_r64        );
     823TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I64_R64_TEST_T,  cvttsd2si_i64_r64        );
     824
    805825RT_C_DECLS_END
    806826
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