--- old/src/hotspot/cpu/x86/x86_64.ad 2020-04-02 18:03:50.148854104 -0700 +++ new/src/hotspot/cpu/x86/x86_64.ad 2020-04-02 18:03:49.964854104 -0700 @@ -2878,7 +2878,7 @@ %} // Constant for test vs zero -operand immI0() +operand immI_0() %{ predicate(n->get_int() == 0); match(ConI); @@ -2889,7 +2889,7 @@ %} // Constant for increment -operand immI1() +operand immI_1() %{ predicate(n->get_int() == 1); match(ConI); @@ -2910,6 +2910,36 @@ interface(CONST_INTER); %} +operand immI_2() +%{ + predicate(n->get_int() == 2); + match(ConI); + + op_cost(0); + format %{ %} + interface(CONST_INTER); +%} + +operand immI_4() +%{ + predicate(n->get_int() == 4); + match(ConI); + + op_cost(0); + format %{ %} + interface(CONST_INTER); +%} + +operand immI_8() +%{ + predicate(n->get_int() == 8); + match(ConI); + + op_cost(0); + format %{ %} + interface(CONST_INTER); +%} + // Valid scale values for addressing modes operand immI2() %{ @@ -5267,19 +5297,19 @@ match(Set dst (MaxF a b)); effect(USE a, USE b, TEMP tmp, TEMP atmp, TEMP btmp); format %{ - "blendvps $btmp,$b,$a,$b \n\t" - "blendvps $atmp,$a,$b,$b \n\t" + "vblendvps $btmp,$b,$a,$b \n\t" + "vblendvps $atmp,$a,$b,$b \n\t" "vmaxss $tmp,$atmp,$btmp \n\t" - "cmpps.unordered $btmp,$atmp,$atmp \n\t" - "blendvps $dst,$tmp,$atmp,$btmp \n\t" + "vcmpps.unordered $btmp,$atmp,$atmp \n\t" + "vblendvps $dst,$tmp,$atmp,$btmp \n\t" %} ins_encode %{ int vector_len = Assembler::AVX_128bit; - __ blendvps($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, vector_len); - __ blendvps($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $b$$XMMRegister, vector_len); + __ vblendvps($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, vector_len); + __ vblendvps($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $b$$XMMRegister, vector_len); __ vmaxss($tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister); - __ cmpps($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); - __ blendvps($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); + __ vcmpps($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); + __ vblendvps($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); %} ins_pipe( pipe_slow ); %} @@ -5303,19 +5333,19 @@ match(Set dst (MaxD a b)); effect(USE a, USE b, TEMP atmp, TEMP btmp, TEMP tmp); format %{ - "blendvpd $btmp,$b,$a,$b \n\t" - "blendvpd $atmp,$a,$b,$b \n\t" + "vblendvpd $btmp,$b,$a,$b \n\t" + "vblendvpd $atmp,$a,$b,$b \n\t" "vmaxsd $tmp,$atmp,$btmp \n\t" - "cmppd.unordered $btmp,$atmp,$atmp \n\t" - "blendvpd $dst,$tmp,$atmp,$btmp \n\t" + "vcmppd.unordered $btmp,$atmp,$atmp \n\t" + "vblendvpd $dst,$tmp,$atmp,$btmp \n\t" %} ins_encode %{ int vector_len = Assembler::AVX_128bit; - __ blendvpd($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, vector_len); - __ blendvpd($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $b$$XMMRegister, vector_len); + __ vblendvpd($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, vector_len); + __ vblendvpd($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $b$$XMMRegister, vector_len); __ vmaxsd($tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister); - __ cmppd($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); - __ blendvpd($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); + __ vcmppd($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); + __ vblendvpd($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); %} ins_pipe( pipe_slow ); %} @@ -5339,19 +5369,19 @@ match(Set dst (MinF a b)); effect(USE a, USE b, TEMP tmp, TEMP atmp, TEMP btmp); format %{ - "blendvps $atmp,$a,$b,$a \n\t" - "blendvps $btmp,$b,$a,$a \n\t" + "vblendvps $atmp,$a,$b,$a \n\t" + "vblendvps $btmp,$b,$a,$a \n\t" "vminss $tmp,$atmp,$btmp \n\t" - "cmpps.unordered $btmp,$atmp,$atmp \n\t" - "blendvps $dst,$tmp,$atmp,$btmp \n\t" + "vcmpps.unordered $btmp,$atmp,$atmp \n\t" + "vblendvps $dst,$tmp,$atmp,$btmp \n\t" %} ins_encode %{ int vector_len = Assembler::AVX_128bit; - __ blendvps($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, vector_len); - __ blendvps($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $a$$XMMRegister, vector_len); + __ vblendvps($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, vector_len); + __ vblendvps($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $a$$XMMRegister, vector_len); __ vminss($tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister); - __ cmpps($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); - __ blendvps($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); + __ vcmpps($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); + __ vblendvps($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); %} ins_pipe( pipe_slow ); %} @@ -5375,19 +5405,19 @@ match(Set dst (MinD a b)); effect(USE a, USE b, TEMP tmp, TEMP atmp, TEMP btmp); format %{ - "blendvpd $atmp,$a,$b,$a \n\t" - "blendvpd $btmp,$b,$a,$a \n\t" + "vblendvpd $atmp,$a,$b,$a \n\t" + "vblendvpd $btmp,$b,$a,$a \n\t" "vminsd $tmp,$atmp,$btmp \n\t" - "cmppd.unordered $btmp,$atmp,$atmp \n\t" - "blendvpd $dst,$tmp,$atmp,$btmp \n\t" + "vcmppd.unordered $btmp,$atmp,$atmp \n\t" + "vblendvpd $dst,$tmp,$atmp,$btmp \n\t" %} ins_encode %{ int vector_len = Assembler::AVX_128bit; - __ blendvpd($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, vector_len); - __ blendvpd($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $a$$XMMRegister, vector_len); + __ vblendvpd($atmp$$XMMRegister, $a$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, vector_len); + __ vblendvpd($btmp$$XMMRegister, $b$$XMMRegister, $a$$XMMRegister, $a$$XMMRegister, vector_len); __ vminsd($tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister); - __ cmppd($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); - __ blendvpd($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); + __ vcmppd($btmp$$XMMRegister, $atmp$$XMMRegister, $atmp$$XMMRegister, Assembler::_false, vector_len); + __ vblendvpd($dst$$XMMRegister, $tmp$$XMMRegister, $atmp$$XMMRegister, $btmp$$XMMRegister, vector_len); %} ins_pipe( pipe_slow ); %} @@ -5611,7 +5641,7 @@ ins_pipe(ialu_reg_fat); // XXX %} -instruct loadConI0(rRegI dst, immI0 src, rFlagsReg cr) +instruct loadConI0(rRegI dst, immI_0 src, rFlagsReg cr) %{ match(Set dst src); effect(KILL cr); @@ -6047,7 +6077,7 @@ %} // Store Integer Immediate -instruct storeImmI0(memory mem, immI0 zero) +instruct storeImmI0(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL)); match(Set mem (StoreI mem zero)); @@ -6097,7 +6127,7 @@ %} // Store Short/Char Immediate -instruct storeImmC0(memory mem, immI0 zero) +instruct storeImmC0(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL)); match(Set mem (StoreC mem zero)); @@ -6123,7 +6153,7 @@ %} // Store Byte Immediate -instruct storeImmB0(memory mem, immI0 zero) +instruct storeImmB0(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL)); match(Set mem (StoreB mem zero)); @@ -6148,7 +6178,7 @@ %} // Store CMS card-mark Immediate -instruct storeImmCM0_reg(memory mem, immI0 zero) +instruct storeImmCM0_reg(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL) && (CompressedKlassPointers::base() == NULL)); match(Set mem (StoreCM mem zero)); @@ -6161,7 +6191,7 @@ ins_pipe(ialu_mem_reg); %} -instruct storeImmCM0(memory mem, immI0 src) +instruct storeImmCM0(memory mem, immI_0 src) %{ match(Set mem (StoreCM mem src)); @@ -7253,7 +7283,7 @@ ins_pipe(ialu_mem_imm); %} -instruct incI_rReg(rRegI dst, immI1 src, rFlagsReg cr) +instruct incI_rReg(rRegI dst, immI_1 src, rFlagsReg cr) %{ predicate(UseIncDec); match(Set dst (AddI dst src)); @@ -7265,7 +7295,7 @@ ins_pipe(ialu_reg); %} -instruct incI_mem(memory dst, immI1 src, rFlagsReg cr) +instruct incI_mem(memory dst, immI_1 src, rFlagsReg cr) %{ predicate(UseIncDec); match(Set dst (StoreI dst (AddI (LoadI dst) src))); @@ -8159,7 +8189,7 @@ // Subtract from a pointer // XXX hmpf??? -instruct subP_rReg(rRegP dst, rRegI src, immI0 zero, rFlagsReg cr) +instruct subP_rReg(rRegP dst, rRegI src, immI_0 zero, rFlagsReg cr) %{ match(Set dst (AddP dst (SubI zero src))); effect(KILL cr); @@ -8170,7 +8200,7 @@ ins_pipe(ialu_reg_reg); %} -instruct negI_rReg(rRegI dst, immI0 zero, rFlagsReg cr) +instruct negI_rReg(rRegI dst, immI_0 zero, rFlagsReg cr) %{ match(Set dst (SubI zero dst)); effect(KILL cr); @@ -8181,7 +8211,19 @@ ins_pipe(ialu_reg); %} -instruct negI_mem(memory dst, immI0 zero, rFlagsReg cr) +instruct negI_rReg_2(rRegI dst, rFlagsReg cr) +%{ + match(Set dst (NegI dst)); + effect(KILL cr); + + format %{ "negl $dst\t# int" %} + ins_encode %{ + __ negl($dst$$Register); + %} + ins_pipe(ialu_reg); +%} + +instruct negI_mem(memory dst, immI_0 zero, rFlagsReg cr) %{ match(Set dst (StoreI dst (SubI zero (LoadI dst)))); effect(KILL cr); @@ -8203,6 +8245,18 @@ ins_pipe(ialu_reg); %} +instruct negL_rReg_2(rRegL dst, rFlagsReg cr) +%{ + match(Set dst (NegL dst)); + effect(KILL cr); + + format %{ "negq $dst\t# int" %} + ins_encode %{ + __ negq($dst$$Register); + %} + ins_pipe(ialu_reg); +%} + instruct negL_mem(memory dst, immL0 zero, rFlagsReg cr) %{ match(Set dst (StoreL dst (SubL zero (LoadL dst)))); @@ -8528,7 +8582,7 @@ // Integer Shift Instructions // Shift Left by one -instruct salI_rReg_1(rRegI dst, immI1 shift, rFlagsReg cr) +instruct salI_rReg_1(rRegI dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (LShiftI dst shift)); effect(KILL cr); @@ -8540,7 +8594,7 @@ %} // Shift Left by one -instruct salI_mem_1(memory dst, immI1 shift, rFlagsReg cr) +instruct salI_mem_1(memory dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (StoreI dst (LShiftI (LoadI dst) shift))); effect(KILL cr); @@ -8600,7 +8654,7 @@ %} // Arithmetic shift right by one -instruct sarI_rReg_1(rRegI dst, immI1 shift, rFlagsReg cr) +instruct sarI_rReg_1(rRegI dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (RShiftI dst shift)); effect(KILL cr); @@ -8612,7 +8666,7 @@ %} // Arithmetic shift right by one -instruct sarI_mem_1(memory dst, immI1 shift, rFlagsReg cr) +instruct sarI_mem_1(memory dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (StoreI dst (RShiftI (LoadI dst) shift))); effect(KILL cr); @@ -8672,7 +8726,7 @@ %} // Logical shift right by one -instruct shrI_rReg_1(rRegI dst, immI1 shift, rFlagsReg cr) +instruct shrI_rReg_1(rRegI dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (URShiftI dst shift)); effect(KILL cr); @@ -8684,7 +8738,7 @@ %} // Logical shift right by one -instruct shrI_mem_1(memory dst, immI1 shift, rFlagsReg cr) +instruct shrI_mem_1(memory dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (StoreI dst (URShiftI (LoadI dst) shift))); effect(KILL cr); @@ -8745,7 +8799,7 @@ // Long Shift Instructions // Shift Left by one -instruct salL_rReg_1(rRegL dst, immI1 shift, rFlagsReg cr) +instruct salL_rReg_1(rRegL dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (LShiftL dst shift)); effect(KILL cr); @@ -8757,7 +8811,7 @@ %} // Shift Left by one -instruct salL_mem_1(memory dst, immI1 shift, rFlagsReg cr) +instruct salL_mem_1(memory dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (StoreL dst (LShiftL (LoadL dst) shift))); effect(KILL cr); @@ -8818,7 +8872,7 @@ %} // Arithmetic shift right by one -instruct sarL_rReg_1(rRegL dst, immI1 shift, rFlagsReg cr) +instruct sarL_rReg_1(rRegL dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (RShiftL dst shift)); effect(KILL cr); @@ -8830,7 +8884,7 @@ %} // Arithmetic shift right by one -instruct sarL_mem_1(memory dst, immI1 shift, rFlagsReg cr) +instruct sarL_mem_1(memory dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (StoreL dst (RShiftL (LoadL dst) shift))); effect(KILL cr); @@ -8891,7 +8945,7 @@ %} // Logical shift right by one -instruct shrL_rReg_1(rRegL dst, immI1 shift, rFlagsReg cr) +instruct shrL_rReg_1(rRegL dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (URShiftL dst shift)); effect(KILL cr); @@ -8903,7 +8957,7 @@ %} // Logical shift right by one -instruct shrL_mem_1(memory dst, immI1 shift, rFlagsReg cr) +instruct shrL_mem_1(memory dst, immI_1 shift, rFlagsReg cr) %{ match(Set dst (StoreL dst (URShiftL (LoadL dst) shift))); effect(KILL cr); @@ -9021,7 +9075,7 @@ // end of ROL expand // Rotate Left by one -instruct rolI_rReg_i1(rRegI dst, immI1 lshift, immI_M1 rshift, rFlagsReg cr) +instruct rolI_rReg_i1(rRegI dst, immI_1 lshift, immI_M1 rshift, rFlagsReg cr) %{ match(Set dst (OrI (LShiftI dst lshift) (URShiftI dst rshift))); @@ -9042,7 +9096,7 @@ %} // Rotate Left by variable -instruct rolI_rReg_Var_C0(no_rcx_RegI dst, rcx_RegI shift, immI0 zero, rFlagsReg cr) +instruct rolI_rReg_Var_C0(no_rcx_RegI dst, rcx_RegI shift, immI_0 zero, rFlagsReg cr) %{ match(Set dst (OrI (LShiftI dst shift) (URShiftI dst (SubI zero shift)))); @@ -9094,7 +9148,7 @@ // end of ROR expand // Rotate Right by one -instruct rorI_rReg_i1(rRegI dst, immI1 rshift, immI_M1 lshift, rFlagsReg cr) +instruct rorI_rReg_i1(rRegI dst, immI_1 rshift, immI_M1 lshift, rFlagsReg cr) %{ match(Set dst (OrI (URShiftI dst rshift) (LShiftI dst lshift))); @@ -9115,7 +9169,7 @@ %} // Rotate Right by variable -instruct rorI_rReg_Var_C0(no_rcx_RegI dst, rcx_RegI shift, immI0 zero, rFlagsReg cr) +instruct rorI_rReg_Var_C0(no_rcx_RegI dst, rcx_RegI shift, immI_0 zero, rFlagsReg cr) %{ match(Set dst (OrI (URShiftI dst shift) (LShiftI dst (SubI zero shift)))); @@ -9166,7 +9220,7 @@ // end of ROL expand // Rotate Left by one -instruct rolL_rReg_i1(rRegL dst, immI1 lshift, immI_M1 rshift, rFlagsReg cr) +instruct rolL_rReg_i1(rRegL dst, immI_1 lshift, immI_M1 rshift, rFlagsReg cr) %{ match(Set dst (OrL (LShiftL dst lshift) (URShiftL dst rshift))); @@ -9187,7 +9241,7 @@ %} // Rotate Left by variable -instruct rolL_rReg_Var_C0(no_rcx_RegL dst, rcx_RegI shift, immI0 zero, rFlagsReg cr) +instruct rolL_rReg_Var_C0(no_rcx_RegL dst, rcx_RegI shift, immI_0 zero, rFlagsReg cr) %{ match(Set dst (OrL (LShiftL dst shift) (URShiftL dst (SubI zero shift)))); @@ -9239,7 +9293,7 @@ // end of ROR expand // Rotate Right by one -instruct rorL_rReg_i1(rRegL dst, immI1 rshift, immI_M1 lshift, rFlagsReg cr) +instruct rorL_rReg_i1(rRegL dst, immI_1 rshift, immI_M1 lshift, rFlagsReg cr) %{ match(Set dst (OrL (URShiftL dst rshift) (LShiftL dst lshift))); @@ -9260,7 +9314,7 @@ %} // Rotate Right by variable -instruct rorL_rReg_Var_C0(no_rcx_RegL dst, rcx_RegI shift, immI0 zero, rFlagsReg cr) +instruct rorL_rReg_Var_C0(no_rcx_RegL dst, rcx_RegI shift, immI_0 zero, rFlagsReg cr) %{ match(Set dst (OrL (URShiftL dst shift) (LShiftL dst (SubI zero shift)))); @@ -9432,7 +9486,7 @@ ins_pipe(ialu_reg); %} -instruct blsiI_rReg_rReg(rRegI dst, rRegI src, immI0 imm_zero, rFlagsReg cr) %{ +instruct blsiI_rReg_rReg(rRegI dst, rRegI src, immI_0 imm_zero, rFlagsReg cr) %{ match(Set dst (AndI (SubI imm_zero src) src)); predicate(UseBMI1Instructions); effect(KILL cr); @@ -9445,7 +9499,7 @@ ins_pipe(ialu_reg); %} -instruct blsiI_rReg_mem(rRegI dst, memory src, immI0 imm_zero, rFlagsReg cr) %{ +instruct blsiI_rReg_mem(rRegI dst, memory src, immI_0 imm_zero, rFlagsReg cr) %{ match(Set dst (AndI (SubI imm_zero (LoadI src) ) (LoadI src) )); predicate(UseBMI1Instructions); effect(KILL cr); @@ -10128,7 +10182,7 @@ ins_pipe(pipe_slow); %} -instruct cmpLTMask0(rRegI dst, immI0 zero, rFlagsReg cr) +instruct cmpLTMask0(rRegI dst, immI_0 zero, rFlagsReg cr) %{ match(Set dst (CmpLTMask dst zero)); effect(KILL cr); @@ -11461,7 +11515,7 @@ ins_pipe(ialu_reg_reg); %} -instruct overflowNegI_rReg(rFlagsReg cr, immI0 zero, rax_RegI op2) +instruct overflowNegI_rReg(rFlagsReg cr, immI_0 zero, rax_RegI op2) %{ match(Set cr (OverflowSubI zero op2)); effect(DEF cr, USE_KILL op2); @@ -11570,7 +11624,7 @@ ins_pipe(ialu_cr_reg_mem); %} -instruct testI_reg(rFlagsReg cr, rRegI src, immI0 zero) +instruct testI_reg(rFlagsReg cr, rRegI src, immI_0 zero) %{ match(Set cr (CmpI src zero)); @@ -11580,7 +11634,7 @@ ins_pipe(ialu_cr_reg_imm); %} -instruct testI_reg_imm(rFlagsReg cr, rRegI src, immI con, immI0 zero) +instruct testI_reg_imm(rFlagsReg cr, rRegI src, immI con, immI_0 zero) %{ match(Set cr (CmpI (AndI src con) zero)); @@ -11590,7 +11644,7 @@ ins_pipe(ialu_cr_reg_imm); %} -instruct testI_reg_mem(rFlagsReg cr, rRegI src, memory mem, immI0 zero) +instruct testI_reg_mem(rFlagsReg cr, rRegI src, memory mem, immI_0 zero) %{ match(Set cr (CmpI (AndI src (LoadI mem)) zero)); @@ -11644,7 +11698,7 @@ // // ins_encode( OpcP, reg_mem( op1, op2) ); // //%} -instruct testU_reg(rFlagsRegU cr, rRegI src, immI0 zero) +instruct testU_reg(rFlagsRegU cr, rRegI src, immI_0 zero) %{ match(Set cr (CmpU src zero)); @@ -11983,7 +12037,7 @@ ins_pipe(ialu_cr_reg_mem); %} -instruct testUB_mem_imm(rFlagsReg cr, memory mem, immU8 imm, immI0 zero) +instruct testUB_mem_imm(rFlagsReg cr, memory mem, immU8 imm, immI_0 zero) %{ match(Set cr (CmpI (AndI (LoadUB mem) imm) zero)); @@ -11993,7 +12047,7 @@ ins_pipe(ialu_cr_reg_mem); %} -instruct testB_mem_imm(rFlagsReg cr, memory mem, immI8 imm, immI0 zero) +instruct testB_mem_imm(rFlagsReg cr, memory mem, immI8 imm, immI_0 zero) %{ match(Set cr (CmpI (AndI (LoadB mem) imm) zero)); @@ -12716,7 +12770,7 @@ // match(Set dst (CopyI src)); // %} // -// instruct incI_rReg(rRegI dst, immI1 src, rFlagsReg cr) +// instruct incI_rReg(rRegI dst, immI_1 src, rFlagsReg cr) // %{ // match(Set dst (AddI dst src)); // effect(KILL cr);