altivec.md (*altivec_vpermr_<mode>_internal): Exchange the order of the second and...
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Fri, 1 Jul 2016 13:52:55 +0000 (13:52 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Fri, 1 Jul 2016 13:52:55 +0000 (13:52 +0000)
gcc/ChangeLog:

2016-07-01  Kelvin Nilsen  <kelvin@gcc.gnu.org>

* config/rs6000/altivec.md (*altivec_vpermr_<mode>_internal):
Exchange the order of the second and third operands in the vpermr
instruction tmeplate.

From-SVN: r237912

gcc/ChangeLog
gcc/config/rs6000/altivec.md

index 3ed5fbbcdeb1d25c57b4eedac47d095349409dc4..3295534da350b7c842f0a3db2634874a7b42ee6a 100644 (file)
@@ -1,3 +1,9 @@
+2016-07-01  Kelvin Nilsen  <kelvin@gcc.gnu.org>
+
+       * config/rs6000/altivec.md (*altivec_vpermr_<mode>_internal):
+       Exchange the order of the second and third operands in the vpermr
+       instruction tmeplate.
+
 2016-07-01  Peter Bergner  <bergner@vnet.ibm.com>
 
        PR target/71698
index b45b86f4e7b21ac8efbb154f5efdb3a9ac2a20e1..7dad61efeda67041bec66c92aaf68b55695eaab2 100644 (file)
                   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")])