diff -r 1f49c9794ad8 -r 929cd9246fc9 src/hotspot/cpu/x86/x86_64.ad --- a/src/hotspot/cpu/x86/x86_64.ad Fri Jun 08 11:11:06 2018 +0200 +++ b/src/hotspot/cpu/x86/x86_64.ad Fri Jun 08 11:41:43 2018 +0200 @@ -11607,16 +11607,6 @@ ins_pipe(ialu_cr_reg_imm); %} -instruct compUB_mem_imm(rFlagsReg cr, memory mem, immU8 imm) -%{ - match(Set cr (CmpI (LoadUB mem) imm)); - - ins_cost(125); - format %{ "cmpb $mem, $imm" %} - ins_encode %{ __ cmpb($mem$$Address, $imm$$constant); %} - ins_pipe(ialu_cr_reg_mem); -%} - instruct compB_mem_imm(rFlagsReg cr, memory mem, immI8 imm) %{ match(Set cr (CmpI (LoadB mem) imm)); @@ -11627,16 +11617,6 @@ ins_pipe(ialu_cr_reg_mem); %} -instruct testUB_mem_imm(rFlagsReg cr, memory mem, immU8 imm, immI0 zero) -%{ - match(Set cr (CmpI (AndI (LoadUB mem) imm) zero)); - - ins_cost(125); - format %{ "testb $mem, $imm" %} - ins_encode %{ __ testb($mem$$Address, $imm$$constant); %} - ins_pipe(ialu_cr_reg_mem); -%} - instruct testB_mem_imm(rFlagsReg cr, memory mem, immI8 imm, immI0 zero) %{ match(Set cr (CmpI (AndI (LoadB mem) imm) zero));