Skip to content

Commit

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

Reviewed-by: haosun, aph
  • Loading branch information
Sergey Nazarkin authored and Alexey Bakhtin committed Dec 28, 2021
1 parent 4f607f2 commit 299022d
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 @@ -1820,8 +1820,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 299022d

@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.