changeset 51374 | 7be0084191ed |
parent 51008 | 8df91a1b549b |
child 51482 | d7029542d67a |
--- a/src/hotspot/cpu/aarch64/aarch64.ad Fri Aug 10 17:07:44 2018 +0800 +++ b/src/hotspot/cpu/aarch64/aarch64.ad Fri Aug 10 14:22:49 2018 +0300 @@ -14471,7 +14471,7 @@ format %{ "cmp $op1, $op2\t# overflow check long" %} ins_cost(INSN_COST); ins_encode %{ - __ cmp($op1$$Register, $op2$$constant); + __ subs(zr, $op1$$Register, $op2$$constant); %} ins_pipe(icmp_reg_imm);