diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-30 14:21:17 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-30 14:21:17 +0900 |
commit | b063d276f21828484dc58803320dab1f9de2b0ad (patch) | |
tree | ed6688d6193e63375c2c9ae90c315501a9dbee6f /test | |
parent | 6d21c7389a229f9303094e49899304c4abdd1988 (diff) | |
download | xbyak-b063d276f21828484dc58803320dab1f9de2b0ad.tar.gz xbyak-b063d276f21828484dc58803320dab1f9de2b0ad.zip |
add misc tests
Diffstat (limited to 'test')
-rw-r--r-- | test/apx.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp index 3f0365f..4ffec7e 100644 --- a/test/apx.cpp +++ b/test/apx.cpp @@ -1692,12 +1692,22 @@ CYBOZU_TEST_AUTO(evex_misc) vmovaps(xmm31, ptr [r30+r26*8+0x40]); vaddps(zmm30, zmm21, ptr [r20+r30*1]); vcvtsd2si(r30d, ptr [r17+r31*4]); + + test(ptr[r30], r31); + test(byte[r30], 0x12); + call(r20); + call(ptr[r20]); } } c; const uint8_t tbl[] = { 0x62, 0x09, 0x78, 0x08, 0x28, 0x7c, 0xd6, 0x04, 0x62, 0x29, 0x50, 0x40, 0x58, 0x34, 0x34, 0x62, 0x29, 0x7b, 0x08, 0x2d, 0x34, 0xb9, + + 0xd5, 0x5d, 0x85, 0x3e, + 0xd5, 0x11, 0xf6, 0x06, 0x12, + 0xd5, 0x10, 0xff, 0xd4, + 0xd5, 0x10, 0xff, 0x14, 0x24, }; const size_t n = sizeof(tbl); CYBOZU_TEST_EQUAL(c.getSize(), n); |