diff options
Diffstat (limited to 'test/apx.cpp')
-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, |