about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-11-15 14:26:25 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-11-15 14:26:25 +0100
commiteaca84e9ba632e9ae22a95e3271db2febb1c3c5f (patch)
tree7f2a6332b83b59382ef49a356656613c94a2eed1
parentbca0f4d66d3bcf235c7ec84f43d105fce7df3470 (diff)
downloadbox64-eaca84e9ba632e9ae22a95e3271db2febb1c3c5f.tar.gz
box64-eaca84e9ba632e9ae22a95e3271db2febb1c3c5f.zip
[ARM64_DYNAREC] Very small change on on emit_rol32c helper
-rw-r--r--src/dynarec/arm64/dynarec_arm64_emit_shift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/arm64/dynarec_arm64_emit_shift.c b/src/dynarec/arm64/dynarec_arm64_emit_shift.c
index 464fb7d7..96ca7969 100644
--- a/src/dynarec/arm64/dynarec_arm64_emit_shift.c
+++ b/src/dynarec/arm64/dynarec_arm64_emit_shift.c
@@ -893,7 +893,7 @@ void emit_rol32c(dynarec_arm_t* dyn, int ninst, rex_t rex, int s1, uint32_t c, i
     }
     IFX(X_OF) {
         if(c==1) {
-            ADDxw_REG_LSR(s3, s1, s1, rex.w?63:31);
+            EORxw_REG_LSR(s3, s1, s1, rex.w?63:31);
             BFIw(xFlags, s3, F_OF, 1);
         }
     }