about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-08-13 19:24:01 +0800
committerGitHub <noreply@github.com>2025-08-13 13:24:01 +0200
commitdb864b6aa6670ee6a45fc6e3b67fe5732f3e55f5 (patch)
treeec09909ed5b13831b81f32d3b4ce7916b1d576ed /src
parent3793e595f027a970574298c8ad66f837f996500e (diff)
downloadbox64-db864b6aa6670ee6a45fc6e3b67fe5732f3e55f5.tar.gz
box64-db864b6aa6670ee6a45fc6e3b67fe5732f3e55f5.zip
[LA64_DYNAREC] Fixed a typo in CMPXCHG8B opcode (#2931)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/la64/dynarec_la64_f0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/la64/dynarec_la64_f0.c b/src/dynarec/la64/dynarec_la64_f0.c
index 14f14d50..a381e6c8 100644
--- a/src/dynarec/la64/dynarec_la64_f0.c
+++ b/src/dynarec/la64/dynarec_la64_f0.c
@@ -381,7 +381,7 @@ uintptr_t dynarec64_F0(dynarec_la64_t* dyn, uintptr_t addr, uintptr_t ip, int ni
                                 }
                                 B_MARK3_nocond;
                                 MARK;
-                                SLLI_D(xRDX, x2, 32);
+                                SRLI_D(xRDX, x2, 32);
                                 ZEROUP2(xRAX, x2);
                                 MARK3;
                                 SMDMB();