https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261
--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Wed Feb 22 22:54:56 2017 New Revision: 245664 URL: https://gcc.gnu.org/viewcvs?rev=245664&root=gcc&view=rev Log: [gcc] 2017-02-22 Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline 2017-02-17 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR target/79261 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add support for CODE_FOR_vsx_xxpermdi_v2d[fi]_be. * config/rs6000/rs6000.md (reload_gpr_from_vsx<mode>): Call generator for vsx_xxpermdi_<mode>_be. * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Remove logic to force big-endian semantics. (vsx_xxpermdi_<mode>_be): New define_expand with same implementation as previous version of vsx_xxpermdi_<mode>. [gcc/testsuite] 2017-02-22 Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline 2017-02-17 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR target/79261 * gcc.target/powerpc/vec-xxpermdi.c: New file. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/vec-xxpermdi.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/rs6000/rs6000.c branches/gcc-5-branch/gcc/config/rs6000/rs6000.md branches/gcc-5-branch/gcc/config/rs6000/vsx.md branches/gcc-5-branch/gcc/testsuite/ChangeLog