about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_helper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_helper.h b/src/dynarec/rv64/dynarec_rv64_helper.h
index 84119bb7..e521e135 100644
--- a/src/dynarec/rv64/dynarec_rv64_helper.h
+++ b/src/dynarec/rv64/dynarec_rv64_helper.h
@@ -498,7 +498,8 @@
     } else {                                                                                   \
         SMREAD();                                                                              \
         ed = 16;                                                                               \
-        addr = geted(dyn, addr, ninst, nextop, &wback, a, x3, &fixedaddress, rex, NULL, 1, D); \
+        addr = geted(dyn, addr, ninst, nextop, &wback, a, x3, &fixedaddress, rex, NULL, 0, D); \
+        fixedaddress = 0; /* TODO: optimize this! */                                           \
     }
 
 #define GETGM()                     \
@@ -517,7 +518,8 @@
     } else {                                                                                   \
         SMREAD();                                                                              \
         ed = 8;                                                                                \
-        addr = geted(dyn, addr, ninst, nextop, &wback, a, x3, &fixedaddress, rex, NULL, 1, D); \
+        addr = geted(dyn, addr, ninst, nextop, &wback, a, x3, &fixedaddress, rex, NULL, 0, D); \
+        fixedaddress = 0; /* TODO: optimize this! */                                           \
     }
 
 #define SSE_LOOP_D_ITEM(GX1, EX1, F, i)    \