Skip to content

Commit

Permalink
ARM64: Fix XLOAD/XSTORE with FP operand.
Browse files Browse the repository at this point in the history
Thanks to Stefan Pejic.
  • Loading branch information
Mike Pall committed Mar 20, 2017
1 parent de5568e commit 0cf7885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_asm_arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static void asm_fusexref(ASMState *as, A64Ins ai, Reg rd, IRRef ref,
}
rm = ra_alloc1(as, lref, allow);
rn = ra_alloc1(as, rref, rset_exclude(allow, rm));
emit_dnm(as, (ai^A64I_LS_R), rd, rn, rm);
emit_dnm(as, (ai^A64I_LS_R), (rd & 31), rn, rm);
return;
}
} else if (ir->o == IR_STRREF) {
Expand Down

0 comments on commit 0cf7885

Please sign in to comment.