diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-13 17:38:04 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-13 17:38:04 +0900 |
commit | 737904b5a44567f2ae7a2fced093fd6939703940 (patch) | |
tree | 9c2e4a4d27e7894eda67174969cc5176e40ba947 /test | |
parent | 52b2ebf18826bc2e6106ab9366a2a8284c612903 (diff) | |
download | xbyak-737904b5a44567f2ae7a2fced093fd6939703940.tar.gz xbyak-737904b5a44567f2ae7a2fced093fd6939703940.zip |
add vcvtuqq2ph
Diffstat (limited to 'test')
-rw-r--r-- | test/misc.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/misc.cpp b/test/misc.cpp index 4610f0e..259b196 100644 --- a/test/misc.cpp +++ b/test/misc.cpp @@ -1216,6 +1216,16 @@ CYBOZU_TEST_AUTO(vaddph) vcvtqq2ph(xmm1, yword_b [rax+0x40]); vcvtqq2ph(xmm1, zword [rax+0x40]); vcvtqq2ph(xmm1, zword_b [rax+0x40]); + + vcvtuqq2ph(xmm1, xmm5); + vcvtuqq2ph(xmm1, ymm5); + vcvtuqq2ph(xmm1|k2|T_z|T_rd_sae, zmm5); + vcvtuqq2ph(xmm1, xword [rax+0x40]); + vcvtuqq2ph(xmm1, xword_b [rax+0x40]); + vcvtuqq2ph(xmm1, yword [rax+0x40]); + vcvtuqq2ph(xmm1, yword_b [rax+0x40]); + vcvtuqq2ph(xmm1, zword [rax+0x40]); + vcvtuqq2ph(xmm1, zword_b [rax+0x40]); } } c; const uint8_t tbl[] = { @@ -1623,6 +1633,17 @@ CYBOZU_TEST_AUTO(vaddph) 0x62, 0xf5, 0xfc, 0x38, 0x5b, 0x48, 0x08, 0x62, 0xf5, 0xfc, 0x48, 0x5b, 0x48, 0x01, 0x62, 0xf5, 0xfc, 0x58, 0x5b, 0x48, 0x08, + + // vcvtuqq2ph + 0x62, 0xf5, 0xff, 0x08, 0x7a, 0xcd, + 0x62, 0xf5, 0xff, 0x28, 0x7a, 0xcd, + 0x62, 0xf5, 0xff, 0xba, 0x7a, 0xcd, + 0x62, 0xf5, 0xff, 0x08, 0x7a, 0x48, 0x04, + 0x62, 0xf5, 0xff, 0x18, 0x7a, 0x48, 0x08, + 0x62, 0xf5, 0xff, 0x28, 0x7a, 0x48, 0x02, + 0x62, 0xf5, 0xff, 0x38, 0x7a, 0x48, 0x08, + 0x62, 0xf5, 0xff, 0x48, 0x7a, 0x48, 0x01, + 0x62, 0xf5, 0xff, 0x58, 0x7a, 0x48, 0x08, }; const size_t n = sizeof(tbl) / sizeof(tbl[0]); CYBOZU_TEST_EQUAL(c.getSize(), n); |