diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-13 14:39:56 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-13 14:39:56 +0900 |
commit | 3ff69a474c7e48646c074a0eb5c7c76970fd1596 (patch) | |
tree | 57af91816719611ae36257633d94afcc4795faa1 /test | |
parent | 678b5295687dcfa13cc4bd35b46c4994d5a9fc92 (diff) | |
download | xbyak-3ff69a474c7e48646c074a0eb5c7c76970fd1596.tar.gz xbyak-3ff69a474c7e48646c074a0eb5c7c76970fd1596.zip |
add vcvtph2pd
Diffstat (limited to 'test')
-rw-r--r-- | test/misc.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/misc.cpp b/test/misc.cpp index 043782a..cf07b45 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -1129,6 +1129,17 @@ CYBOZU_TEST_AUTO(vaddph) vcvttph2udq(zmm1|k5|T_z, ptr [rax+0x40]); vcvttph2udq(zmm1|k5|T_z, ptr_b [rax+0x40]); + + vcvtph2pd(xmm1, xmm5); + vcvtph2pd(xmm1, ptr [rax+0x40]); + vcvtph2pd(xmm1, ptr_b [rax+0x40]); + vcvtph2pd(ymm1|k2|T_z, xmm5); + vcvtph2pd(ymm1, ptr [rax+0x40]); + vcvtph2pd(ymm1, ptr_b [rax+0x40]); + vcvtph2pd(zmm1|k5|T_z|T_sae, xmm3); + vcvtph2pd(zmm1|k5|T_z, ptr [rax+0x40]); + vcvtph2pd(zmm1|k5|T_z, ptr_b [rax+0x40]); + } } c; const uint8_t tbl[] = { @@ -1440,6 +1451,17 @@ CYBOZU_TEST_AUTO(vaddph) 0x62, 0xf5, 0x7c, 0x9d, 0x78, 0xcb, 0x62, 0xf5, 0x7c, 0xcd, 0x78, 0x48, 0x02, 0x62, 0xf5, 0x7c, 0xdd, 0x78, 0x48, 0x20, + + // vcvtph2pd + 0x62, 0xf5, 0x7c, 0x08, 0x5a, 0xcd, + 0x62, 0xf5, 0x7c, 0x08, 0x5a, 0x48, 0x10, + 0x62, 0xf5, 0x7c, 0x18, 0x5a, 0x48, 0x20, + 0x62, 0xf5, 0x7c, 0xaa, 0x5a, 0xcd, + 0x62, 0xf5, 0x7c, 0x28, 0x5a, 0x48, 0x08, + 0x62, 0xf5, 0x7c, 0x38, 0x5a, 0x48, 0x20, + 0x62, 0xf5, 0x7c, 0x9d, 0x5a, 0xcb, + 0x62, 0xf5, 0x7c, 0xcd, 0x5a, 0x48, 0x04, + 0x62, 0xf5, 0x7c, 0xdd, 0x5a, 0x48, 0x20, }; const size_t n = sizeof(tbl) / sizeof(tbl[0]); CYBOZU_TEST_EQUAL(c.getSize(), n); |