diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-14 09:15:34 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-14 09:15:34 +0900 |
commit | 270af1cb2483794faf669bb9426dcba3cc526c8f (patch) | |
tree | 836d55c8e7e2cb3532673a1e3c382114b78afa66 /test | |
parent | 17dc697cdcb57c42f5b46507f44d283c312fc3e8 (diff) | |
download | xbyak-270af1cb2483794faf669bb9426dcba3cc526c8f.tar.gz xbyak-270af1cb2483794faf669bb9426dcba3cc526c8f.zip |
add vcvtuw2ph
Diffstat (limited to 'test')
-rw-r--r-- | test/misc.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/misc.cpp b/test/misc.cpp index 1497e58..fde0e6b 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -1262,6 +1262,15 @@ CYBOZU_TEST_AUTO(vaddph) vcvttph2w(zmm1|k2|T_z|T_sae, zmm5); vcvttph2w(zmm1, ptr [rax+0x40]); vcvttph2w(zmm1, ptr_b [rax+0x40]); + + vcvtuw2ph(xmm1, xmm5); + vcvtuw2ph(xmm1, ptr [rax+0x40]); + vcvtuw2ph(xmm1, ptr_b [rax+0x40]); + vcvtuw2ph(ymm1, ptr [rax+0x40]); + vcvtuw2ph(ymm1, ptr_b [rax+0x40]); + vcvtuw2ph(zmm1|k2|T_z|T_rd_sae, zmm5); + vcvtuw2ph(zmm1, ptr [rax+0x40]); + vcvtuw2ph(zmm1, ptr_b [rax+0x40]); } } c; const uint8_t tbl[] = { @@ -1720,6 +1729,16 @@ CYBOZU_TEST_AUTO(vaddph) 0x62, 0xf5, 0x7d, 0x9a, 0x7c, 0xcd, 0x62, 0xf5, 0x7d, 0x48, 0x7c, 0x48, 0x01, 0x62, 0xf5, 0x7d, 0x58, 0x7c, 0x48, 0x20, + + // vcvtuw2ph + 0x62, 0xf5, 0x7f, 0x08, 0x7d, 0xcd, + 0x62, 0xf5, 0x7f, 0x08, 0x7d, 0x48, 0x04, + 0x62, 0xf5, 0x7f, 0x18, 0x7d, 0x48, 0x20, + 0x62, 0xf5, 0x7f, 0x28, 0x7d, 0x48, 0x02, + 0x62, 0xf5, 0x7f, 0x38, 0x7d, 0x48, 0x20, + 0x62, 0xf5, 0x7f, 0xba, 0x7d, 0xcd, + 0x62, 0xf5, 0x7f, 0x48, 0x7d, 0x48, 0x01, + 0x62, 0xf5, 0x7f, 0x58, 0x7d, 0x48, 0x20, }; const size_t n = sizeof(tbl) / sizeof(tbl[0]); CYBOZU_TEST_EQUAL(c.getSize(), n); |