diff options
author | MITSUNARI Shigeo <[email protected]> | 2023-11-17 12:47:04 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2023-11-17 12:47:04 +0900 |
commit | eb9de13925046f599fb29d9d81b3c372f0c1ee48 (patch) | |
tree | 6fc71cbf10b12c9ef43c057b759bb8a94941d8c3 /test | |
parent | dba2c174f3d8606cdb0bcad7b473baa420915247 (diff) | |
download | xbyak-eb9de13925046f599fb29d9d81b3c372f0c1ee48.tar.gz xbyak-eb9de13925046f599fb29d9d81b3c372f0c1ee48.zip |
2-op imul supports apx
Diffstat (limited to 'test')
-rw-r--r-- | test/apx.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/apx.cpp b/test/apx.cpp index 87a354b..a5ada01 100644 --- a/test/apx.cpp +++ b/test/apx.cpp @@ -806,6 +806,14 @@ CYBOZU_TEST_AUTO(div) not_(qword [r20+r30*1]); // 2op + // imul(r30b, al); // QQQ : not supported? + imul(r30w, ax); + imul(r30d, eax); + imul(r30, rax); + imul(r30|T_nf, rax); + imul(rcx|T_nf, rax); + imul(rcx, ptr [r30]); + neg(r30b, al); neg(r30w, ax); neg(r30d, eax); @@ -856,6 +864,11 @@ CYBOZU_TEST_AUTO(div) 0x08, 0xf7, 0x14, 0x34, // 2op + // imul + 0x62, 0x64, 0x7d, 0x08, 0xaf, 0xf0, 0x62, 0x64, 0x7c, 0x08, 0xaf, 0xf0, 0x62, 0x64, 0xfc, 0x08, + 0xaf, 0xf0, 0x62, 0x64, 0xfc, 0x0c, 0xaf, 0xf0, 0x62, 0xf4, 0xfc, 0x0c, 0xaf, 0xc8, 0x62, 0xdc, + 0xfc, 0x08, 0xaf, 0x0e, + // neg 0x62, 0xf4, 0x0c, 0x10, 0xf6, 0xd8, 0x62, 0xf4, 0x0d, 0x10, 0xf7, 0xd8, 0x62, 0xf4, 0x0c, 0x10, 0xf7, 0xd8, 0x62, 0xf4, 0x8c, 0x10, 0xf7, 0xd8, 0x62, 0xf4, 0x8c, 0x14, 0xf7, 0xd8, 0x62, 0xf4, |