fix cldemote test for 32-bit

This commit is contained in:
MITSUNARI Shigeo 2022-05-11 17:29:48 +09:00
parent 84ab46bb3b
commit 0ad6db1387

View file

@ -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);