hotspot/src/cpu/s390/vm/s390.ad
changeset 46735 219c4312853e
parent 46726 7801367e3cc9
parent 45966 b2019823b5bd
--- a/hotspot/src/cpu/s390/vm/s390.ad	Tue Aug 01 08:53:32 2017 -0700
+++ b/hotspot/src/cpu/s390/vm/s390.ad	Tue Aug 01 14:09:34 2017 -0700
@@ -8470,6 +8470,24 @@
 %}
 
 //  LONG unsigned
+// Added CmpUL for LoopPredicate.
+instruct compUL_reg_reg(flagsReg cr, iRegL op1, iRegL op2) %{
+  match(Set cr (CmpUL op1 op2));
+  size(4);
+  format %{ "CLGR    $op1,$op2\t # long" %}
+  opcode(CLGR_ZOPC);
+  ins_encode(z_rreform(op1, op2));
+  ins_pipe(pipe_class_dummy);
+%}
+
+instruct compUL_reg_imm32(flagsReg cr, iRegL op1, uimmL32 con) %{
+  match(Set cr (CmpUL op1 con));
+  size(6);
+  format %{ "CLGFI   $op1,$con" %}
+  opcode(CLGFI_ZOPC);
+  ins_encode(z_rilform_unsigned(op1, con));
+  ins_pipe(pipe_class_dummy);
+%}
 
 //  PTR unsigned