Hi Jakub, On 23 May 19:15, Jakub Jelinek wrote: > Hi! > > The vbroadcastss and vpermilps insns are already in AVX512F & AVX512VL, > so can be used with v instead of x, the splitter case where we for AVX > emit vpermilps plus vpermf128 is more problematic, because the latter > insn isn't available in EVEX. But, we can get the same effect with > vshuff32x4 when both source operands are the same. > Alternatively, we could replace the vpermilps and vshuff32x4 insns > with the AVX512VL arbitrary permutations I think, the question is > what is faster, because we'd need to load the mask from memory. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? patch is OK.
-- Thanks, K