https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72804
--- Comment #8 from Peter Bergner <bergner at gcc dot gnu.org> --- Author: bergner Date: Wed Aug 23 20:03:46 2017 New Revision: 251318 URL: https://gcc.gnu.org/viewcvs?rev=251318&root=gcc&view=rev Log: gcc/ Backport from mainline 2017-08-17 Peter Bergner <berg...@vnet.ibm.com> PR target/72804 * config/rs6000/vsx.md (*vsx_le_permute_<mode>): Add support for operands residing in integer registers. (*vsx_le_perm_load_<mode>): Likewise. (*vsx_le_perm_store_<mode>): Likewise. (define_peephole2): Add peepholes to optimize the above. gcc/testsuite/ Backport from mainline 2017-08-17 Peter Bergner <berg...@vnet.ibm.com> PR target/72804 * gcc.target/powerpc/pr72804.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr72804.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/vsx.md branches/gcc-7-branch/gcc/testsuite/ChangeLog