Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8279225: [arm32] C1 longs comparison operation destroys argument regi…
…sters

Backport-of: 299022dfacbcb49e3bc5beca8ff9b1fca1101493
  • Loading branch information
shipilev committed Jan 10, 2022
1 parent 3de6b2c commit 744d785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/arm/c1_LIRAssembler_arm.cpp
Expand Up @@ -1825,8 +1825,8 @@ void LIR_Assembler::comp_op(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2,
__ teq(xhi, yhi);
__ teq(xlo, ylo, eq);
} else {
__ subs(xlo, xlo, ylo);
__ sbcs(xhi, xhi, yhi);
__ subs(Rtemp, xlo, ylo);
__ sbcs(Rtemp, xhi, yhi);
}
} else {
ShouldNotReachHere();
Expand Down

1 comment on commit 744d785

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.