From 737904b5a44567f2ae7a2fced093fd6939703940 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 13 Sep 2021 17:38:04 +0900 Subject: add vcvtuqq2ph --- test/misc.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'test/misc.cpp') 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); -- cgit v1.2.3