aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2018-07-10 17:33:40 +0000
committerCarl Love <cel@us.ibm.com>2018-07-10 17:33:40 +0000
commit524a63b7b28b593ed6d3461af517b2364c5e371b (patch)
treedb7a9f48ebb3b38986874da13dc1e3594c39eaa5
parent300f97b25d4ae5670723292c458120d6e7be3aa0 (diff)
2018-07-10 Carl Love <cel@us.ibm.com>
Backport from mainline 2017-09-07 Carl Love <cel@us.ibm.com> * config/rs6000/vsx.md (define_insn "*stxvl"): Add missing argument to the sldi instruction. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@262541 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/rs6000/vsx.md2
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6399f39ec61..016356eb87b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2018-07-10 Carl Love <cel@us.ibm.com>
+
+ Backport from mainline
+ 2017-09-07 Carl Love <cel@us.ibm.com>
+
+ * config/rs6000/vsx.md (define_insn "*stxvl"): Add missing argument to
+ the sldi instruction.
+
2018-06-29 Martin Liska <mliska@suse.cz>
Backport from mainline
diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md
index eef53578abb..37d768fe570 100644
--- a/gcc/config/rs6000/vsx.md
+++ b/gcc/config/rs6000/vsx.md
@@ -3946,7 +3946,7 @@
(match_operand:DI 2 "register_operand" "+r")]
UNSPEC_STXVL))]
"TARGET_P9_VECTOR && TARGET_64BIT"
- "sldi %2,%2\;stxvl %x0,%1,%2"
+ "sldi %2,%2,56\;stxvl %x0,%1,%2"
[(set_attr "length" "8")
(set_attr "type" "vecstore")])