aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/misc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/misc.cpp b/test/misc.cpp
index e86c953..5f7db7e 100644
--- a/test/misc.cpp
+++ b/test/misc.cpp
@@ -876,6 +876,10 @@ CYBOZU_TEST_AUTO(vnni)
vpdpbusd(xm0, xm1, xm2);
vpdpbusd(xm0, xm1, xm2, EvexEncoding); // EVEX
vpdpbusd(xm0, xm1, xm2, VexEncoding); // VEX
+ setDefaultEncoding(VexEncoding);
+ vpdpbusd(xm0, xm1, xm2); // VEX
+ setDefaultEncoding(EvexEncoding);
+ vpdpbusd(xm0, xm1, xm2); // EVEX
}
void badVex()
{
@@ -886,6 +890,8 @@ CYBOZU_TEST_AUTO(vnni)
0x62, 0xF2, 0x75, 0x08, 0x50, 0xC2,
0x62, 0xF2, 0x75, 0x08, 0x50, 0xC2,
0xC4, 0xE2, 0x71, 0x50, 0xC2,
+ 0xC4, 0xE2, 0x71, 0x50, 0xC2,
+ 0x62, 0xF2, 0x75, 0x08, 0x50, 0xC2,
};
const size_t n = sizeof(tbl) / sizeof(tbl[0]);
CYBOZU_TEST_EQUAL(c.getSize(), n);