On Wed, Nov 23, 2016 at 08:09:01PM +0100, Uros Bizjak wrote: > Hello! > > This patch cleans and improves mask op patterns a bit. The patch uses > insn mode attribute to control emission of word-mode operations and > macroizes a couple of patterns. > > No functional changes. > > 2016-11-23 Uros Bizjak <ubiz...@gmail.com> > > * gcc.target/config/i386.md (*movqi_internal): Calculate mode
s,gcc.target/config,config/i386, > attribute of alternatives 7,8,9 depending on TARGET_AVX512DQ. > <TYPE_MSKMOV>: Emit kmovw for MODE_HI insn mode attribute. > (*k<logic><mode>): Calculate mode attribute depending on > TARGET_AVX512DQ. Emit k<logic>w for MODE_HI insn mode attribute. > (*andqi_1): Calculate mode attribute of alternative 3 depending > on TARGET_AVX512DQ. Emit kandw for MODE_HI insn mode attribute. > (kandn<mode>): Calculate mode attribute of alternative 2 depending > on TARGET_AVX512DQ. Emit kandnw for MODE_HI insn mode attribute. > (kxnor<mode>): Merge insn patterns using SWI1248_AVX512BW mode > iterator. Calculate mode attribute of alternative 1 depending > on TARGET_AVX512DQ. Emit kxnorw for MODE_HI insn mode attribute. > (*one_cmplqi2_1): Calculate mode attribute of alternative 2 depending > on TARGET_AVX512DQ. Emit knotw for MODE_HI insn mode attribute. Jakub