diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-22 11:12:04 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-22 11:12:04 +0900 |
commit | 1aefdb649960a4bfdc69602967968462165d6d8c (patch) | |
tree | 18b4d04304c2510d4439a64e1d2e26a19399c465 /test | |
parent | 77eca6d0dcd75e7a0d24b3a86506ebaba6879d8f (diff) | |
download | xbyak-1aefdb649960a4bfdc69602967968462165d6d8c.tar.gz xbyak-1aefdb649960a4bfdc69602967968462165d6d8c.zip |
support jmpabs
Diffstat (limited to 'test')
-rw-r--r-- | test/apx.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp index a5d2ebf..ba767e2 100644 --- a/test/apx.cpp +++ b/test/apx.cpp @@ -1055,6 +1055,8 @@ CYBOZU_TEST_AUTO(mov_misc) crc32(r30d, r8d); crc32(r30, r8b); crc32(r30, r8); + + jmpabs(0x12345678aabbccdd); } } c; const uint8_t tbl[] = { @@ -1069,6 +1071,8 @@ CYBOZU_TEST_AUTO(mov_misc) // crc32 0x62, 0x44, 0x7c, 0x08, 0xf0, 0xf0, 0x62, 0x44, 0x7d, 0x08, 0xf1, 0xf0, 0x62, 0x44, 0x7c, 0x08, 0xf1, 0xf0, 0x62, 0x44, 0xfc, 0x08, 0xf0, 0xf0, 0x62, 0x44, 0xfc, 0x08, 0xf1, 0xf0, + // jmpabs + 0xd5, 0x00, 0xa1, 0xdd, 0xcc, 0xbb, 0xaa, 0x78, 0x56, 0x34, 0x12, }; const size_t n = sizeof(tbl); CYBOZU_TEST_EQUAL(c.getSize(), n); |