8279225: [arm32] C1 longs comparison operation destroys argument registers

Backport-of: 299022dfacbcb49e3bc5beca8ff9b1fca1101493
This commit is contained in:
Tobias Hartmann 2022-02-03 06:20:49 +00:00
parent 2b74a8d2a1
commit 313932af0a

View File

@ -1820,8 +1820,8 @@ void LIR_Assembler::comp_op(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2,
__ teq(xhi, yhi); __ teq(xhi, yhi);
__ teq(xlo, ylo, eq); __ teq(xlo, ylo, eq);
} else { } else {
__ subs(xlo, xlo, ylo); __ subs(Rtemp, xlo, ylo);
__ sbcs(xhi, xhi, yhi); __ sbcs(Rtemp, xhi, yhi);
} }
} else { } else {
ShouldNotReachHere(); ShouldNotReachHere();