aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/misc.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-10-10 14:03:02 +0900
committerMITSUNARI Shigeo <[email protected]>2024-10-10 14:03:02 +0900
commitfc94d2ad270cc36259a85d376c987f8a27ea473a (patch)
tree804e061ef0a1d92fb54d3d38c3c49e83480cd7f9 /test/misc.cpp
parent87c568e23c2dfec3453880bc4d224000f4f29146 (diff)
downloadxbyak-fc94d2ad270cc36259a85d376c987f8a27ea473a.tar.gz
xbyak-fc94d2ad270cc36259a85d376c987f8a27ea473a.zip
fix tests of vpcompressb and vpcompressw
Diffstat (limited to 'test/misc.cpp')
-rw-r--r--test/misc.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/misc.cpp b/test/misc.cpp
index 18760d4..bc5083b 100644
--- a/test/misc.cpp
+++ b/test/misc.cpp
@@ -285,24 +285,24 @@ CYBOZU_TEST_AUTO(vpclmulqdq)
CYBOZU_TEST_EQUAL(c.getSize(), n);
CYBOZU_TEST_EQUAL_ARRAY(c.getCode(), tbl, n);
}
-CYBOZU_TEST_AUTO(vcompressb_w)
+CYBOZU_TEST_AUTO(vpcompressb_w)
{
struct Code : Xbyak::CodeGenerator {
Code()
{
- vcompressb(ptr[rax + 64], xmm1);
- vcompressb(xmm30 | k5, xmm1);
- vcompressb(ptr[rax + 64], ymm1);
- vcompressb(ymm30 | k3 |T_z, ymm1);
- vcompressb(ptr[rax + 64], zmm1);
- vcompressb(zmm30 | k2 |T_z, zmm1);
-
- vcompressw(ptr[rax + 64], xmm1);
- vcompressw(xmm30 | k5, xmm1);
- vcompressw(ptr[rax + 64], ymm1);
- vcompressw(ymm30 | k3 |T_z, ymm1);
- vcompressw(ptr[rax + 64], zmm1);
- vcompressw(zmm30 | k2 |T_z, zmm1);
+ vpcompressb(ptr[rax + 64], xmm1);
+ vpcompressb(xmm30 | k5, xmm1);
+ vpcompressb(ptr[rax + 64], ymm1);
+ vpcompressb(ymm30 | k3 |T_z, ymm1);
+ vpcompressb(ptr[rax + 64], zmm1);
+ vpcompressb(zmm30 | k2 |T_z, zmm1);
+
+ vpcompressw(ptr[rax + 64], xmm1);
+ vpcompressw(xmm30 | k5, xmm1);
+ vpcompressw(ptr[rax + 64], ymm1);
+ vpcompressw(ymm30 | k3 |T_z, ymm1);
+ vpcompressw(ptr[rax + 64], zmm1);
+ vpcompressw(zmm30 | k2 |T_z, zmm1);
}
} c;
const uint8_t tbl[] = {