aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKelvin Nilsen <kelvin@gcc.gnu.org>2016-07-01 13:52:55 +0000
committerKelvin Nilsen <kelvin@gcc.gnu.org>2016-07-01 13:52:55 +0000
commit51433308bb18319f173f75339e1ac1eb2fe24e80 (patch)
tree71878f07f4c278a5ebd66dd92ab641d2b7634ac4 /gcc
parent2c1e49643bcc316dea32af6ed3e60bd4f890f291 (diff)
downloadgcc-51433308bb18319f173f75339e1ac1eb2fe24e80.zip
gcc-51433308bb18319f173f75339e1ac1eb2fe24e80.tar.gz
gcc-51433308bb18319f173f75339e1ac1eb2fe24e80.tar.bz2
altivec.md (*altivec_vpermr_<mode>_internal): Exchange the order of the second and third operands in the vpermr instruction...
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/altivec.md2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3ed5fbb..3295534 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md
index b45b86f..7dad61e 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")])