diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-14 14:33:15 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-14 14:33:15 +0900 |
commit | b3489f54814f539b8e1036020d9a65b385ba72b8 (patch) | |
tree | 0356686947fcf4a7f52db147dda1f3ab5f390d9b /test/misc.cpp | |
parent | 16d9898ab95db030170f1bb4a3282a1a8b0190bf (diff) | |
download | xbyak-b3489f54814f539b8e1036020d9a65b385ba72b8.tar.gz xbyak-b3489f54814f539b8e1036020d9a65b385ba72b8.zip |
add vcvtusi2sh
Diffstat (limited to 'test/misc.cpp')
-rw-r--r-- | test/misc.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/misc.cpp b/test/misc.cpp index 1f920a8..3b10c99 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -1321,6 +1321,11 @@ CYBOZU_TEST_AUTO(vaddph) vcvtsi2sh(xmm1, xmm2, dword [rax+0x40]); vcvtsi2sh(xmm1|T_rd_sae, xmm2, r9); vcvtsi2sh(xmm1, xmm2, qword [rax+0x40]); + + vcvtusi2sh(xmm1|T_rd_sae, xmm2, eax); + vcvtusi2sh(xmm1, xmm2, dword [rax+0x40]); + vcvtusi2sh(xmm1|T_rd_sae, xmm2, r9); + vcvtusi2sh(xmm1, xmm2, qword [rax+0x40]); } } c; const uint8_t tbl[] = { @@ -1846,6 +1851,12 @@ CYBOZU_TEST_AUTO(vaddph) 0x62, 0xf5, 0x6e, 0x08, 0x2a, 0x48, 0x10, 0x62, 0xd5, 0xee, 0x38, 0x2a, 0xc9, 0x62, 0xf5, 0xee, 0x08, 0x2a, 0x48, 0x08, + + // vcvtusi2sh + 0x62, 0xf5, 0x6e, 0x38, 0x7b, 0xc8, + 0x62, 0xf5, 0x6e, 0x08, 0x7b, 0x48, 0x10, + 0x62, 0xd5, 0xee, 0x38, 0x7b, 0xc9, + 0x62, 0xf5, 0xee, 0x08, 0x7b, 0x48, 0x08, }; const size_t n = sizeof(tbl) / sizeof(tbl[0]); CYBOZU_TEST_EQUAL(c.getSize(), n); |