aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2022-05-11 17:29:48 +0900
committerMITSUNARI Shigeo <[email protected]>2022-05-11 17:29:48 +0900
commit0ad6db1387790d3a6d6d4f6f246e15e713e5a8e5 (patch)
tree82c1075a7423e6930a84f58bcf7b7e087b831e0b
parent84ab46bb3b9360ce9a71e6eb50ee8aabb31dfa57 (diff)
downloadxbyak-0ad6db1387790d3a6d6d4f6f246e15e713e5a8e5.tar.gz
xbyak-0ad6db1387790d3a6d6d4f6f246e15e713e5a8e5.zip
fix cldemote test for 32-bit
-rw-r--r--test/misc.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/misc.cpp b/test/misc.cpp
index 2b4f103..4d20736 100644
--- a/test/misc.cpp
+++ b/test/misc.cpp
@@ -1938,8 +1938,13 @@ CYBOZU_TEST_AUTO(misc)
} c;
const uint8_t tbl[] = {
// cldemote
- 0x67, 0x0f, 0x1c, 0x44, 0xb0, 0x12,
+#ifdef XBYAK64
+ 0x67,
+#endif
+ 0x0f, 0x1c, 0x44, 0xb0, 0x12,
+#ifdef XBYAK64
0x0f, 0x1c, 0x84, 0xf8, 0x23, 0x01, 0x00, 0x00
+#endif
};
const size_t n = sizeof(tbl) / sizeof(tbl[0]);
CYBOZU_TEST_EQUAL(c.getSize(), n);