diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-10 11:51:29 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-10 11:51:29 +0900 |
commit | a493dc7b48782803bffb66320e866d0303fa6c20 (patch) | |
tree | cf804db10258a5616c54fa9d72f42a94ff75af21 /test | |
parent | 7c1accedc70781f4c778b7ee55b341472b08a8ba (diff) | |
download | xbyak-a493dc7b48782803bffb66320e866d0303fa6c20.tar.gz xbyak-a493dc7b48782803bffb66320e866d0303fa6c20.zip |
blsi supports apx
Diffstat (limited to 'test')
-rw-r--r-- | test/apx.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp index 1e69fa7..4e15a0c 100644 --- a/test/apx.cpp +++ b/test/apx.cpp @@ -541,6 +541,11 @@ CYBOZU_TEST_AUTO(bextr_etc) shrx(r29, r30, r31); shrx(eax, ecx, r17d); shrx(r29, ptr [r31+r20*4], r30); + + blsi(r30, r31); + blsi(r30|T_nf, r31); + blsi(ecx, r17d); + blsi(r30, ptr [r31+r20*4]); } } c; const uint8_t tbl[] = { @@ -570,6 +575,13 @@ CYBOZU_TEST_AUTO(bextr_etc) 0x62, 0x4a, 0x87, 0x00, 0xf7, 0xee, 0x62, 0xf2, 0x77, 0x00, 0xf7, 0xc1, 0x62, 0x4a, 0x8b, 0x00, 0xf7, 0x2c, 0xa7, + + // blsi + 0x62, 0xda, 0x8c, 0x00, 0xf3, 0xdf, + 0x62, 0xda, 0x8c, 0x04, 0xf3, 0xdf, + 0x62, 0xfa, 0x74, 0x08, 0xf3, 0xd9, + 0x62, 0xda, 0x88, 0x00, 0xf3, 0x1c, 0xa7, + }; const size_t n = sizeof(tbl); CYBOZU_TEST_EQUAL(c.getSize(), n); |