summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-01 13:52:55 +0000
committerkelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-01 13:52:55 +0000
commitee9730c3136f45201f6f15ed9d93bcc99edd3396 (patch)
tree71878f07f4c278a5ebd66dd92ab641d2b7634ac4 /gcc
parent0b6f1914a6b3b430cf6a7835375e660d9c877e4d (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237912 138bc75d-0d04-0410-961f-82ee72b054a4
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 3ed5fbbcdeb1..3295534da350 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 b45b86f4e7b2..7dad61efeda6 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")])