Re: [PATCH,rs6000] Add vec_permxor support.

2018-03-14 Thread Segher Boessenkool
Hi! On Wed, Mar 14, 2018 at 08:17:42AM -0700, Carl Love wrote: > 2018-03-14 Carl Love > > * config/rs6000/rs6000-c.c: Add macro definitions for > ALTIVEC_BUILTIN_VEC_PERMXOR. > * config/rs6000/rs6000.h: Add #define for vec_permxor builtin. > * config/rs6000/rs6000-built

Re: [PATCH,rs6000] Add vec_permxor support.

2018-03-14 Thread Carl Love
Segher: I have addressed the following comments in the patch > > > > 2018-03-12  Carl Love   > > > > * config/rs6000/rs6000-c.c: Add macro definitions for > > ALTIVEC_BUILTIN_VEC_PERM. > > ALTIVEC_BUILTIN_VEC_PERMXOR. Fixed typo. > > > * config/rs6000/altivec.md: Add define_ins

Re: [PATCH,rs6000] Add vec_permxor support.

2018-03-12 Thread Segher Boessenkool
Hi Carl, On Mon, Mar 12, 2018 at 08:21:08AM -0700, Carl Love wrote: > The following patch add support for the vec_permxor builtins.   > > Note the change in file rs6000-p8swap.c is actually a fix for the > existing define_insn "crypto_vpermxor in crypto.md. The fix disables > swap optimization f

[PATCH,rs6000] Add vec_permxor support.

2018-03-12 Thread Carl Love
GCC maintainers: The following patch add support for the vec_permxor builtins.   Note the change in file rs6000-p8swap.c is actually a fix for the existing define_insn "crypto_vpermxor in crypto.md. The fix disables swap optimization for the vpermxor instruction. Without this fix optimization w