diff options
Diffstat (limited to 'test/apx.cpp')
-rw-r--r-- | test/apx.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp index 65f6540..b9e6e9f 100644 --- a/test/apx.cpp +++ b/test/apx.cpp @@ -557,6 +557,9 @@ CYBOZU_TEST_AUTO(bextr_etc) blsr(ecx, r17d); blsr(r30, ptr [r31+r20*4]); + rorx(r30, r31, 3); + rorx(ecx, r17d, 5); + rorx(r30, ptr [r31+r20*4], 4); } } c; const uint8_t tbl[] = { @@ -605,6 +608,10 @@ CYBOZU_TEST_AUTO(bextr_etc) 0x62, 0xfa, 0x74, 0x08, 0xf3, 0xc9, 0x62, 0xda, 0x88, 0x00, 0xf3, 0x0c, 0xa7, + // rorx + 0x62, 0x4b, 0xff, 0x08, 0xf0, 0xf7, 0x03, + 0x62, 0xfb, 0x7f, 0x08, 0xf0, 0xc9, 0x05, + 0x62, 0x4b, 0xfb, 0x08, 0xf0, 0x34, 0xa7, 0x04, }; const size_t n = sizeof(tbl); CYBOZU_TEST_EQUAL(c.getSize(), n); |