Re: [PATCH], Patch #6, Improve vector short/char splat initialization on PowerPC

2016-08-22 Thread Segher Boessenkool
Hi Mike, Okay for trunk. Comment below... On Fri, Aug 19, 2016 at 07:59:39PM -0400, Michael Meissner wrote: > * config/rs6000/rs6000.c (rs6000_expand_vector_init): Add support > for using VSPLTH/VSPLTB to initialize vector short and vector char > vectors with all of the same

[PATCH], Patch #6, Improve vector short/char splat initialization on PowerPC

2016-08-19 Thread Michael Meissner
This patch is a follow up to patch #5. It adds the support to use the Altivec VSPLTB/VSPLTH instructions if you are creating a vector char or vector short where each element is the same (but not constant) on 64-bit systems with direct move. The patch has been part of the larger set of patches