diff options
Diffstat (limited to 'src/lj_asm_ppc.h')
-rw-r--r-- | src/lj_asm_ppc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_asm_ppc.h b/src/lj_asm_ppc.h index f5cedd6a..ba60b7e6 100644 --- a/src/lj_asm_ppc.h +++ b/src/lj_asm_ppc.h | |||
@@ -1019,6 +1019,10 @@ static void asm_ahuvload(ASMState *as, IRIns *ir) | |||
1019 | rset_clear(allow, dest); | 1019 | rset_clear(allow, dest); |
1020 | } | 1020 | } |
1021 | idx = asm_fuseahuref(as, ir->op1, &ofs, allow); | 1021 | idx = asm_fuseahuref(as, ir->op1, &ofs, allow); |
1022 | if (ir->o == IR_VLOAD) { | ||
1023 | ofs = ofs != AHUREF_LSX ? ofs + 8 * ir->op2 : | ||
1024 | ir->op2 ? 8 * ir->op2 : AHUREF_LSX; | ||
1025 | } | ||
1022 | if (irt_isnum(t)) { | 1026 | if (irt_isnum(t)) { |
1023 | Reg tisnum = ra_allock(as, (int32_t)LJ_TISNUM, rset_exclude(allow, idx)); | 1027 | Reg tisnum = ra_allock(as, (int32_t)LJ_TISNUM, rset_exclude(allow, idx)); |
1024 | asm_guardcc(as, CC_GE); | 1028 | asm_guardcc(as, CC_GE); |