aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2023-08-12 14:52:48 +0200
committerMike Pall <mike>2023-08-12 14:52:48 +0200
commit93ce12ee15abf28ef4cb24ae7e4b8a5b73d75c85 (patch)
treeaa4d5ec210bf00498bd56cc1c4155150248f4120
parentd5bbf9cdb4c5eddc404a90bd44f077cfb3a57a90 (diff)
downloadluajit-93ce12ee15abf28ef4cb24ae7e4b8a5b73d75c85.tar.gz
luajit-93ce12ee15abf28ef4cb24ae7e4b8a5b73d75c85.tar.bz2
luajit-93ce12ee15abf28ef4cb24ae7e4b8a5b73d75c85.zip
ARM64: Fix assembly of HREFK (again).
Thanks to Peter Cawley. #1026
-rw-r--r--src/lj_asm_arm64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm64.h b/src/lj_asm_arm64.h
index d3e4bb63..f761525f 100644
--- a/src/lj_asm_arm64.h
+++ b/src/lj_asm_arm64.h
@@ -935,7 +935,7 @@ static void asm_hrefk(ASMState *as, IRIns *ir)
935 emit_nm(as, A64I_CMPx, key, ra_allock(as, k, rset_exclude(allow, key))); 935 emit_nm(as, A64I_CMPx, key, ra_allock(as, k, rset_exclude(allow, key)));
936 emit_lso(as, A64I_LDRx, key, idx, kofs); 936 emit_lso(as, A64I_LDRx, key, idx, kofs);
937 if (bigofs) 937 if (bigofs)
938 emit_opk(as, A64I_ADDx, dest, node, ofs, RSET_GPR); 938 emit_opk(as, A64I_ADDx, dest, node, ofs, rset_exclude(RSET_GPR, node));
939} 939}
940 940
941static void asm_uref(ASMState *as, IRIns *ir) 941static void asm_uref(ASMState *as, IRIns *ir)