Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
/ jdk18u Public archive

Commit 313932a

Browse files
committed
8279225: [arm32] C1 longs comparison operation destroys argument registers
Backport-of: 299022dfacbcb49e3bc5beca8ff9b1fca1101493
1 parent 2b74a8d commit 313932a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/arm/c1_LIRAssembler_arm.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1820,8 +1820,8 @@ void LIR_Assembler::comp_op(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2,
18201820
__ teq(xhi, yhi);
18211821
__ teq(xlo, ylo, eq);
18221822
} else {
1823-
__ subs(xlo, xlo, ylo);
1824-
__ sbcs(xhi, xhi, yhi);
1823+
__ subs(Rtemp, xlo, ylo);
1824+
__ sbcs(Rtemp, xhi, yhi);
18251825
}
18261826
} else {
18271827
ShouldNotReachHere();

0 commit comments

Comments
 (0)