about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorLiZhuoheng <114734429+zohanzephyr@users.noreply.github.com>2024-09-20 14:21:12 +0800
committerGitHub <noreply@github.com>2024-09-20 08:21:12 +0200
commit906cdb1584955f614e7ad4cadcff197ccd6cacec (patch)
tree902011f8f8d9beabebeda4b44f234baac61bc11d /src
parent1978ec8b71e7f765bf13d0b92b30a111323870ce (diff)
downloadbox64-906cdb1584955f614e7ad4cadcff197ccd6cacec.tar.gz
box64-906cdb1584955f614e7ad4cadcff197ccd6cacec.zip
[RV64_DYNAREC] Added 62 opcode (#1840)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_00_1.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_00_1.c b/src/dynarec/rv64/dynarec_rv64_00_1.c
index cb42d0b2..f4195800 100644
--- a/src/dynarec/rv64/dynarec_rv64_00_1.c
+++ b/src/dynarec/rv64/dynarec_rv64_00_1.c
@@ -134,7 +134,16 @@ uintptr_t dynarec64_00_1(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int
                 DEFAULT;
             }
             break;
-
+        case 0x62:
+            if(rex.is32bits) {
+                // BOUND here
+                DEFAULT;                
+            } else {
+                INST_NAME("BOUND Gd, Ed");
+                nextop = F8;
+                FAKEED;
+            }
+            break;
         case 0x63:
             if(rex.is32bits) {
                 // this is ARPL opcode