about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-21 15:36:09 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-21 15:36:09 +0100
commit20ccf221a8f721de43119fc2e84cb366733b6e7e (patch)
tree7fefee77d5f5f3033d8aa894cc3dc9148d72c082 /src
parentb98fe181e8332304d14f43b8f477fa2f7b5b6ded (diff)
downloadbox64-20ccf221a8f721de43119fc2e84cb366733b6e7e.tar.gz
box64-20ccf221a8f721de43119fc2e84cb366733b6e7e.zip
[DYNAREC] Added 84 TEST opcode
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dynarec/dynarec_arm64_00.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_arm64_00.c b/src/dynarec/dynarec_arm64_00.c
index fbd258b4..13172dfb 100755
--- a/src/dynarec/dynarec_arm64_00.c
+++ b/src/dynarec/dynarec_arm64_00.c
@@ -776,7 +776,14 @@ uintptr_t dynarec64_00(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
                     DEFAULT;
             }
             break;
-
+        case 0x84:
+            INST_NAME("TEST Eb, Gb");
+            SETFLAGS(X_ALL, SF_SET);
+            nextop=F8;
+            GETEB(x1, 0);
+            GETGB(x2);
+            emit_test8(dyn, ninst, x1, x2, x3, x4, x5);
+            break;
         case 0x85:
             INST_NAME("TEST Ed, Gd");
             SETFLAGS(X_ALL, SF_SET);