about summary refs log tree commit diff stats
path: root/src/dynarec/rv64/dynarec_rv64_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynarec/rv64/dynarec_rv64_helper.h')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_helper.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_helper.h b/src/dynarec/rv64/dynarec_rv64_helper.h
index 6d7f63b1..6a374499 100644
--- a/src/dynarec/rv64/dynarec_rv64_helper.h
+++ b/src/dynarec/rv64/dynarec_rv64_helper.h
@@ -174,12 +174,7 @@
 #define GETSEW(i, D)                                                                           \
     if (MODREG) {                                                                              \
         wback = xRAX + (nextop & 7) + (rex.b << 3);                                            \
-        if (rv64_zbb)                                                                          \
-            SEXTH(i, wback);                                                                   \
-        else {                                                                                 \
-            SLLI(i, wback, 48);                                                                \
-            SRAI(i, i, 48);                                                                    \
-        }                                                                                      \
+        SEXTH(i, wback);                                                                       \
         ed = i;                                                                                \
         wb1 = 0;                                                                               \
     } else {                                                                                   \