> > + else if (TARGET_GFNI && TARGET_AVX512F && CONST_INT_P (operands[2])) > I don't think we need AVX512F here, and let's exclude >>7 cases here, > so better be. > else if (TARGET_GFNI > && CONST_INT_P (operands[2]) > /* It's just vpcmpgtb against 0. */ > && !(INTVAL (operands[2]) == 7 && <CODE> == ASHIFTRT))
With current gcc 7 is not special cased and generates the same code as the others. So I didn't exclude it. -Andi