diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2020-10-03 20:35:14 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:24 -0400 |
commit | 12283c58dab63eb9f8e916a8647758260a3e699b (patch) | |
tree | 8b646ca1e82e661508a5ec9dabeb3edca4466543 /ujit_asm_tests.c | |
parent | 5f4e30be666af8cb8b0265b8dc68124cec4ef047 (diff) |
Removed inc/dec instructions because usage not recommended.
Diffstat (limited to 'ujit_asm_tests.c')
-rw-r--r-- | ujit_asm_tests.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ujit_asm_tests.c b/ujit_asm_tests.c index 0c3417880b..afe8e15b93 100644 --- a/ujit_asm_tests.c +++ b/ujit_asm_tests.c @@ -116,10 +116,6 @@ void run_tests() // cqo cb_set_pos(cb, 0); cqo(cb); check_bytes(cb, "4899"); - // dec - cb_set_pos(cb, 0); dec(cb, CX); check_bytes(cb, "66FFC9"); - cb_set_pos(cb, 0); dec(cb, EDX); check_bytes(cb, "FFCA"); - // div /* test( @@ -132,12 +128,6 @@ void run_tests() ); */ - // inc - cb_set_pos(cb, 0); inc(cb, BL); check_bytes(cb, "FEC3"); - cb_set_pos(cb, 0); inc(cb, ESP); check_bytes(cb, "FFC4"); - cb_set_pos(cb, 0); inc(cb, mem_opnd(32, RSP, 0)); check_bytes(cb, "FF0424"); - cb_set_pos(cb, 0); inc(cb, mem_opnd(64, RSP, 4)); check_bytes(cb, "48FF442404"); - // jcc { cb_set_pos(cb, 0); |