aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2021-09-13 14:51:56 +0900
committerMITSUNARI Shigeo <[email protected]>2021-09-13 14:51:56 +0900
commitbf28a94a5a98a911f8422fa4940888f0c0842a04 (patch)
treef9a3fcd2cc8f83bb4d0a10da86517baba7320971 /test
parent4c4e665d3bb79a316879ff0ce8f9d82c67db67d2 (diff)
downloadxbyak-bf28a94a5a98a911f8422fa4940888f0c0842a04.tar.gz
xbyak-bf28a94a5a98a911f8422fa4940888f0c0842a04.zip
add vcvttph2uqq
Diffstat (limited to 'test')
-rw-r--r--test/misc.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/misc.cpp b/test/misc.cpp
index 9a98d0c..b70f49c 100644
--- a/test/misc.cpp
+++ b/test/misc.cpp
@@ -1160,6 +1160,16 @@ CYBOZU_TEST_AUTO(vaddph)
vcvtph2uqq(zmm1|k5|T_z, ptr [rax+0x40]);
vcvtph2uqq(zmm1|k5|T_z, ptr_b [rax+0x40]);
+ vcvttph2uqq(xmm1, xmm5);
+ vcvttph2uqq(xmm1, ptr [rax+0x40]);
+ vcvttph2uqq(xmm1, ptr_b [rax+0x40]);
+ vcvttph2uqq(ymm1|k2|T_z, xmm5);
+ vcvttph2uqq(ymm1, ptr [rax+0x40]);
+ vcvttph2uqq(ymm1, ptr_b [rax+0x40]);
+ vcvttph2uqq(zmm1|k5|T_z|T_sae, xmm3);
+ vcvttph2uqq(zmm1|k5|T_z, ptr [rax+0x40]);
+ vcvttph2uqq(zmm1|k5|T_z, ptr_b [rax+0x40]);
+
}
} c;
const uint8_t tbl[] = {
@@ -1504,6 +1514,17 @@ CYBOZU_TEST_AUTO(vaddph)
0x62, 0xf5, 0x7d, 0xbd, 0x79, 0xcb,
0x62, 0xf5, 0x7d, 0xcd, 0x79, 0x48, 0x04,
0x62, 0xf5, 0x7d, 0xdd, 0x79, 0x48, 0x20,
+
+ // vcvttph2uqq
+ 0x62, 0xf5, 0x7d, 0x08, 0x78, 0xcd,
+ 0x62, 0xf5, 0x7d, 0x08, 0x78, 0x48, 0x10,
+ 0x62, 0xf5, 0x7d, 0x18, 0x78, 0x48, 0x20,
+ 0x62, 0xf5, 0x7d, 0xaa, 0x78, 0xcd,
+ 0x62, 0xf5, 0x7d, 0x28, 0x78, 0x48, 0x08,
+ 0x62, 0xf5, 0x7d, 0x38, 0x78, 0x48, 0x20,
+ 0x62, 0xf5, 0x7d, 0x9d, 0x78, 0xcb,
+ 0x62, 0xf5, 0x7d, 0xcd, 0x78, 0x48, 0x04,
+ 0x62, 0xf5, 0x7d, 0xdd, 0x78, 0x48, 0x20,
};
const size_t n = sizeof(tbl) / sizeof(tbl[0]);
CYBOZU_TEST_EQUAL(c.getSize(), n);