--- old/src/hotspot/cpu/x86/x86_64.ad 2020-07-16 11:23:19.380785595 -0700 +++ new/src/hotspot/cpu/x86/x86_64.ad 2020-07-16 11:23:19.156785595 -0700 @@ -2875,7 +2875,7 @@ %} // Constant for test vs zero -operand immI0() +operand immI_0() %{ predicate(n->get_int() == 0); match(ConI); @@ -2886,7 +2886,7 @@ %} // Constant for increment -operand immI1() +operand immI_1() %{ predicate(n->get_int() == 1); match(ConI); @@ -2907,6 +2907,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() %{ @@ -5264,19 +5294,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 ); %} @@ -5300,19 +5330,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 ); %} @@ -5336,19 +5366,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 ); %} @@ -5372,19 +5402,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 ); %} @@ -5608,7 +5638,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); @@ -6044,7 +6074,7 @@ %} // Store Integer Immediate -instruct storeImmI0(memory mem, immI0 zero) +instruct storeImmI0(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL)); match(Set mem (StoreI mem zero)); @@ -6094,7 +6124,7 @@ %} // Store Short/Char Immediate -instruct storeImmC0(memory mem, immI0 zero) +instruct storeImmC0(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL)); match(Set mem (StoreC mem zero)); @@ -6120,7 +6150,7 @@ %} // Store Byte Immediate -instruct storeImmB0(memory mem, immI0 zero) +instruct storeImmB0(memory mem, immI_0 zero) %{ predicate(UseCompressedOops && (CompressedOops::base() == NULL)); match(Set mem (StoreB mem zero)); @@ -6145,7 +6175,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)); match(Set mem (StoreCM mem zero)); @@ -6158,7 +6188,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)); @@ -7243,7 +7273,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)); @@ -7255,7 +7285,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))); @@ -8138,7 +8168,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); @@ -8149,7 +8179,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); @@ -8160,7 +8190,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); @@ -8182,6 +8224,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)))); @@ -8507,7 +8561,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); @@ -8519,7 +8573,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); @@ -8579,7 +8633,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); @@ -8591,7 +8645,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); @@ -8651,7 +8705,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); @@ -8663,7 +8717,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); @@ -8724,7 +8778,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); @@ -8736,7 +8790,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); @@ -8797,7 +8851,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); @@ -8809,7 +8863,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); @@ -8870,7 +8924,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); @@ -8882,7 +8936,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); @@ -9000,7 +9054,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))); @@ -9021,7 +9075,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)))); @@ -9073,7 +9127,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))); @@ -9094,7 +9148,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)))); @@ -9145,7 +9199,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))); @@ -9166,7 +9220,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)))); @@ -9218,7 +9272,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))); @@ -9239,7 +9293,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)))); @@ -9411,7 +9465,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); @@ -9424,7 +9478,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); @@ -10107,7 +10161,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); @@ -11440,7 +11494,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); @@ -11549,7 +11603,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)); @@ -11559,7 +11613,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)); @@ -11569,7 +11623,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)); @@ -11623,7 +11677,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)); @@ -11961,7 +12015,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)); @@ -11971,7 +12025,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)); @@ -12694,7 +12748,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);