Hi Carl, On Thu, Mar 22, 2018 at 08:48:33AM -0700, Carl Love wrote: > The patch adds UNSPEC_VPERMXOR to the list of instruction to not apply > swap optimization to. A new test case was added to verify the results > with -O2 match the expected results from -O0.
> Backport: UNSPEC_VPERMXOR fix from mainline commit 258530: > 2018-03-21 Carl Love <c...@us.ibm.com> > > * config/rs6000/r6000.c (rtx_is_swappable_p): Add case UNSPEC_VPERMXOR. > > gcc/testsuite/ChangeLog: > > 2018-03-21 Carl Love <c...@us.ibm.com> > * gcc.target/powerpc/crypto-builtin-1-runnable.c: New test file. Okay for both 7 and 6. Thanks Segher