ARM, PPC, MIPS: Improve XLOAD operand fusion and register hinting.

This commit is contained in:
Mike Pall
2012-08-27 20:25:54 +02:00
parent 1e477e6487
commit 30f458fb4d
4 changed files with 9 additions and 5 deletions

View File

@@ -237,7 +237,7 @@ static void asm_fusexref(ASMState *as, ARMIns ai, Reg rd, IRRef ref,
{
IRIns *ir = IR(ref);
Reg base;
if (ra_noreg(ir->r) && mayfuse(as, ref)) {
if (ra_noreg(ir->r) && canfuse(as, ir)) {
int32_t lim = (!LJ_SOFTFP && (ai & 0x08000000)) ? 1024 :
(ai & 0x04000000) ? 4096 : 256;
if (ir->o == IR_ADD) {