aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2023-11-20 11:39:42 +0900
committerMITSUNARI Shigeo <[email protected]>2023-11-20 11:39:42 +0900
commit083822b52c281f4fc1a52a2478a20d407e4df6cf (patch)
treeed752cd894a16e539868ecc90553cb1dd8cbad01 /test
parent6703d43447f0d9743859b44b0be08c82aac98485 (diff)
downloadxbyak-083822b52c281f4fc1a52a2478a20d407e4df6cf.tar.gz
xbyak-083822b52c281f4fc1a52a2478a20d407e4df6cf.zip
movdiri supports apx
Diffstat (limited to 'test')
-rw-r--r--test/apx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp
index e17ae1d..91604fd 100644
--- a/test/apx.cpp
+++ b/test/apx.cpp
@@ -1016,10 +1016,14 @@ CYBOZU_TEST_AUTO(mov)
Code()
{
movdir64b(r16, ptr [r20+r21*8+0x4]);
+ movdiri(ptr [r20+r21*8+0x4], r16);
}
} c;
const uint8_t tbl[] = {
+ // movdir64b
0x62, 0xec, 0x79, 0x08, 0xf8, 0x44, 0xec, 0x04,
+ // movdiri
+ 0x62, 0xec, 0xf8, 0x08, 0xf9, 0x44, 0xec, 0x04,
};
const size_t n = sizeof(tbl);
CYBOZU_TEST_EQUAL(c.getSize(), n);