aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2026-08-01 11:36:13 +0200
committerMike Pall <mike>2026-08-01 11:36:13 +0200
commitafa81a57382ce7e747b493220e79573f23205ab0 (patch)
treed8bdc8bec4ca6422d0bbca2242dfc8ee8373e223
parentfaaf663340347a78b22ed94c63c24fe090bd9784 (diff)
downloadluajit-afa81a57382ce7e747b493220e79573f23205ab0.tar.gz
luajit-afa81a57382ce7e747b493220e79573f23205ab0.tar.bz2
luajit-afa81a57382ce7e747b493220e79573f23205ab0.zip
x64/LJ_GC64: Enable XLOAD/STRREF fusion.
-rw-r--r--src/lj_asm_x86.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 3c024092c..66914834e 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -344,13 +344,12 @@ static void asm_fusexref(ASMState *as, IRRef ref, RegSet allow)
344 as->mrm.base = RID_DISPATCH; 344 as->mrm.base = RID_DISPATCH;
345 return; 345 return;
346 } 346 }
347 } if (0) {
348#else 347#else
349 as->mrm.ofs = ir->i; 348 as->mrm.ofs = ir->i;
350 as->mrm.base = RID_NONE; 349 as->mrm.base = RID_NONE;
350#endif
351 } else if (ir->o == IR_STRREF) { 351 } else if (ir->o == IR_STRREF) {
352 asm_fusestrref(as, ir, allow); 352 asm_fusestrref(as, ir, allow);
353#endif
354 } else { 353 } else {
355 as->mrm.ofs = 0; 354 as->mrm.ofs = 0;
356 if (canfuse(as, ir) && ir->o == IR_ADD && ra_noreg(ir->r)) { 355 if (canfuse(as, ir) && ir->o == IR_ADD && ra_noreg(ir->r)) {