Skip to content

Commit

Permalink
8287091: aarch64 : guarantee(val < (1ULL << nbits)) failed: Field too…
Browse files Browse the repository at this point in the history
… big for insn

Backport-of: 593d2b7dab934875527249be6840f328147b72b3
  • Loading branch information
GoeLin committed Jun 24, 2022
1 parent caceaba commit 2e2e891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/aarch64/aarch64.ad
Original file line number Diff line number Diff line change
Expand Up @@ -15060,10 +15060,10 @@ instruct overflowAddL_reg_imm(rFlagsReg cr, iRegL op1, immLAddSub op2)
%{
match(Set cr (OverflowAddL op1 op2));

format %{ "cmn $op1, $op2\t# overflow check long" %}
format %{ "adds zr, $op1, $op2\t# overflow check long" %}
ins_cost(INSN_COST);
ins_encode %{
__ cmn($op1$$Register, $op2$$constant);
__ adds(zr, $op1$$Register, $op2$$constant);
%}

ins_pipe(icmp_reg_imm);
Expand Down

1 comment on commit 2e2e891

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