VirtualBox

Ignore:
Timestamp:
Sep 14, 2022 9:21:31 AM (2 years ago)
Author:
vboxsync
Message:

VMM/testcase/tstIEMAImpl: Implement basic cvttss2si/cvtss2si testcases, ​bugref:9898

File:
1 edited

Legend:

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

    r96727 r96732  
    401401    RTFLOAT64U              r64ValIn;
    402402} SSE_BINARY_I64_R64_TEST_T;
     403
     404typedef struct SSE_BINARY_I32_R32_TEST_T
     405{
     406    uint32_t                fMxcsrIn;
     407    uint32_t                fMxcsrOut;
     408    uint32_t                u32Padding;
     409    int32_t                 i32ValOut;
     410    RTFLOAT32U              r32ValIn;
     411} SSE_BINARY_I32_R32_TEST_T;
     412
     413typedef struct SSE_BINARY_I64_R32_TEST_T
     414{
     415    uint32_t                fMxcsrIn;
     416    uint32_t                fMxcsrOut;
     417    int64_t                 i64ValOut;
     418    RTFLOAT32U              r32ValIn;
     419} SSE_BINARY_I64_R32_TEST_T;
    403420
    404421/** @} */
     
    826843TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I64_R64_TEST_T,  cvtsd2si_i64_r64         );
    827844
     845TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I32_R32_TEST_T,  cvttss2si_i32_r32        );
     846TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I32_R32_TEST_T,  cvtss2si_i32_r32         );
     847
     848TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I64_R32_TEST_T,  cvttss2si_i64_r32        );
     849TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary,    SSE_BINARY_I64_R32_TEST_T,  cvtss2si_i64_r32         );
     850
    828851RT_C_DECLS_END
    829852
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