< prev index next >

src/hotspot/cpu/aarch64/aarch64.ad

Print this page

        

@@ -14506,11 +14506,11 @@
   match(Set cr (OverflowSubL op1 op2));
 
   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);
 %}
 
< prev index next >