diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-22 13:53:58 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-22 13:53:58 +0900 |
commit | ff01b1e20c76675f4cfe24d9c7a1becb0a76c9f0 (patch) | |
tree | 8ea3899ff8f9f02cbed0825c0f3435c4a2cc589b /test | |
parent | 25ceea2eff32e2ae79f7499c292041d2208e16d1 (diff) | |
download | xbyak-ff01b1e20c76675f4cfe24d9c7a1becb0a76c9f0.tar.gz xbyak-ff01b1e20c76675f4cfe24d9c7a1becb0a76c9f0.zip |
setcc supports apx
Diffstat (limited to 'test')
-rw-r--r-- | test/apx.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp index 64ee8f5..080dcc1 100644 --- a/test/apx.cpp +++ b/test/apx.cpp @@ -1069,6 +1069,11 @@ CYBOZU_TEST_AUTO(mov_misc) cmovb(r8, r9, r10); cmovb(r8d, r9d, r10d); + + setb(r31b); + setb(r31b|T_zu); + setb(r15b|T_zu); + setb(ptr [r30]); } } c; const uint8_t tbl[] = { @@ -1091,6 +1096,12 @@ CYBOZU_TEST_AUTO(mov_misc) // cmovb 0x62, 0x54, 0xbc, 0x18, 0x42, 0xca, 0x62, 0x54, 0x3c, 0x18, 0x42, 0xca, + // setb + 0x62, 0xdc, 0x7f, 0x08, 0x42, 0xc7, + 0x62, 0xdc, 0x7f, 0x18, 0x42, 0xc7, + 0x62, 0xd4, 0x7f, 0x18, 0x42, 0xc7, + 0x62, 0xdc, 0x7f, 0x08, 0x42, 0x06, + }; const size_t n = sizeof(tbl); CYBOZU_TEST_EQUAL(c.getSize(), n); |