From: Kelvin Nilsen Date: Fri, 1 Jul 2016 13:52:55 +0000 (+0000) Subject: altivec.md (*altivec_vpermr__internal): Exchange the order of the second and... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51433308bb18319f173f75339e1ac1eb2fe24e80;p=gcc.git altivec.md (*altivec_vpermr__internal): Exchange the order of the second and third operands in the vpermr instruction... gcc/ChangeLog: 2016-07-01 Kelvin Nilsen * config/rs6000/altivec.md (*altivec_vpermr__internal): Exchange the order of the second and third operands in the vpermr instruction tmeplate. From-SVN: r237912 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ed5fbbcdeb..3295534da35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-07-01 Kelvin Nilsen + + * config/rs6000/altivec.md (*altivec_vpermr__internal): + Exchange the order of the second and third operands in the vpermr + instruction tmeplate. + 2016-07-01 Peter Bergner PR target/71698 diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index b45b86f4e7b..7dad61efeda 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -2072,7 +2072,7 @@ UNSPEC_VPERMR))] "TARGET_P9_VECTOR" "@ - vpermr %0,%1,%2,%3 + vpermr %0,%2,%1,%3 xxpermr %x0,%x2,%x3" [(set_attr "type" "vecperm") (set_attr "length" "4")])