< prev index next >
src/hotspot/cpu/s390/s390.ad
Print this page
rev 49922 : 8202425: [s390] C2: Wrong unsigned comparison with 0
Summary: Remove wrong node compU_reg_imm0. Other node is already available.
Reviewed-by:
*** 8399,8418 ****
opcode(CLFI_ZOPC);
ins_encode(z_rilform_unsigned(op1, op2));
ins_pipe(pipe_class_dummy);
%}
- instruct compU_reg_imm0(flagsReg cr, iRegI op1, immI_0 zero) %{
- match(Set cr (CmpU op1 zero));
- ins_cost(DEFAULT_COST_LOW);
- size(2);
- format %{ "LTR $op1,$op1\t # unsigned" %}
- opcode(LTR_ZOPC);
- ins_encode(z_rrform(op1, op1));
- ins_pipe(pipe_class_dummy);
- %}
-
instruct compU_reg_mem(flagsReg cr, iRegI op1, memory op2)%{
match(Set cr (CmpU op1 (LoadI op2)));
ins_cost(MEMORY_REF_COST);
// TODO: s390 port size(VARIABLE_SIZE);
format %{ "CL(Y) $op1, $op2\t # unsigned" %}
--- 8399,8408 ----
< prev index next >