On Wed, Apr 29, 2015 at 9:02 PM, Uros Bizjak wrote: > Hello! > > Attached patch implements a CCZ-only setting pattern for a couple of > BMI[,2] intrinsics. These two insns are three operand instructions, and some peephole2 patterns were not prepared for this. Please note that clobbered register can be different than input registers. Attached patch fixes this omission. 2015-04-29 Uros Bizjak PR target/65871 * config/i386/i386.md (*bmi_bextr__cczonly): New pattern. (*bmi2_bzhi_3_1_cczonly): Ditto. (setcc+movzbl peephole2): Check also clobbered reg. (setcc+andl peephole2): Ditto. Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN. Uros.