From: Mike Pall Date: Sat, 12 Aug 2023 12:52:48 +0000 (+0200) Subject: ARM64: Fix assembly of HREFK (again). X-Git-Tag: v2.1.ROLLING~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93ce12ee15abf28ef4cb24ae7e4b8a5b73d75c85;p=thirdparty%2FLuaJIT.git ARM64: Fix assembly of HREFK (again). Thanks to Peter Cawley. #1026 --- 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) emit_nm(as, A64I_CMPx, key, ra_allock(as, k, rset_exclude(allow, key))); emit_lso(as, A64I_LDRx, key, idx, kofs); if (bigofs) - emit_opk(as, A64I_ADDx, dest, node, ofs, RSET_GPR); + emit_opk(as, A64I_ADDx, dest, node, ofs, rset_exclude(RSET_GPR, node)); } static void asm_uref(ASMState *as, IRIns *ir)