diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-13 10:23:51 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-13 10:23:51 +0900 |
commit | fccd2c49bcd3b3b233a85f04b263fe4f2165bec7 (patch) | |
tree | b082f65132f206d82cac548db7119c594473a17a /test | |
parent | 6530f409929baddb87cfd690d70d617e7e6d95db (diff) | |
download | xbyak-fccd2c49bcd3b3b233a85f04b263fe4f2165bec7.tar.gz xbyak-fccd2c49bcd3b3b233a85f04b263fe4f2165bec7.zip |
add vcvtph2dq
Diffstat (limited to 'test')
-rw-r--r-- | test/misc.cpp | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/test/misc.cpp b/test/misc.cpp index 3976f54..1af638d 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -1079,8 +1079,15 @@ CYBOZU_TEST_AUTO(vaddph) vcvtsh2si(rdx|T_rd_sae, xmm1); vcvtsh2si(r8, ptr [rax+0x40]); - - + vcvtph2dq(xmm1, xmm5); + vcvtph2dq(xmm1, ptr [rax+0x40]); + vcvtph2dq(xmm1, ptr_b [rax+0x40]); + vcvtph2dq(ymm1|k2|T_z, xmm5); + vcvtph2dq(ymm1, ptr [rax+0x40]); + vcvtph2dq(ymm1, ptr_b [rax+0x40]); + vcvtph2dq(zmm1|k5|T_z|T_rd_sae, ymm3); + vcvtph2dq(zmm1|k5|T_z, ptr [rax+0x40]); + vcvtph2dq(zmm1|k5|T_z, ptr_b [rax+0x40]); } @@ -1339,6 +1346,17 @@ CYBOZU_TEST_AUTO(vaddph) 0x62, 0xf5, 0x7e, 0x08, 0x2d, 0x50, 0x20, 0x62, 0xf5, 0xfe, 0x38, 0x2d, 0xd1, 0x62, 0x75, 0xfe, 0x08, 0x2d, 0x40, 0x20, + + // vcvtph2dq + 0x62, 0xf5, 0x7d, 0x08, 0x5b, 0xcd, + 0x62, 0xf5, 0x7d, 0x08, 0x5b, 0x48, 0x08, + 0x62, 0xf5, 0x7d, 0x18, 0x5b, 0x48, 0x20, + 0x62, 0xf5, 0x7d, 0xaa, 0x5b, 0xcd, + 0x62, 0xf5, 0x7d, 0x28, 0x5b, 0x48, 0x04, + 0x62, 0xf5, 0x7d, 0x38, 0x5b, 0x48, 0x20, + 0x62, 0xf5, 0x7d, 0xbd, 0x5b, 0xcb, + 0x62, 0xf5, 0x7d, 0xcd, 0x5b, 0x48, 0x02, + 0x62, 0xf5, 0x7d, 0xdd, 0x5b, 0x48, 0x20, }; const size_t n = sizeof(tbl) / sizeof(tbl[0]); CYBOZU_TEST_EQUAL(c.getSize(), n); |