aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-22 13:30:53 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-22 13:30:53 +0900
commit25ceea2eff32e2ae79f7499c292041d2208e16d1 (patch)
tree5f4b1adc0c706890830632ab1c52ee9d558516b4 /test
parent2f8cfb9a8653fcda3e0d8e6dd146ec0ee602c729 (diff)
downloadxbyak-25ceea2eff32e2ae79f7499c292041d2208e16d1.tar.gz
xbyak-25ceea2eff32e2ae79f7499c292041d2208e16d1.zip
add 3-op cmovcc
Diffstat (limited to 'test')
-rw-r--r--test/apx.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp
index 232a75e..64ee8f5 100644
--- a/test/apx.cpp
+++ b/test/apx.cpp
@@ -1066,6 +1066,9 @@ CYBOZU_TEST_AUTO(mov_misc)
cmpbexadd(ptr [r20+r30*8], r21, r22);
cmpbexadd(ptr [r20+r30*8], r21d, r22d);
+
+ cmovb(r8, r9, r10);
+ cmovb(r8d, r9d, r10d);
}
} c;
const uint8_t tbl[] = {
@@ -1085,6 +1088,9 @@ CYBOZU_TEST_AUTO(mov_misc)
//cmpbexadd
0x62, 0xaa, 0xc9, 0x00, 0xe6, 0x2c, 0xf4,
0x62, 0xaa, 0x49, 0x00, 0xe6, 0x2c, 0xf4,
+ // cmovb
+ 0x62, 0x54, 0xbc, 0x18, 0x42, 0xca,
+ 0x62, 0x54, 0x3c, 0x18, 0x42, 0xca,
};
const size_t n = sizeof(tbl);
CYBOZU_TEST_EQUAL(c.getSize(), n);