aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2017-09-07 15:02:24 +0000
committerCarl Love <carll@gcc.gnu.org>2017-09-07 15:02:24 +0000
commit9cb22eea2143fb4e15bc7fc7950758041e4e35ac (patch)
tree5e1c0279399213391b2ab931e43f35008d566b42
parent3060b639beb490d1aa3e6b258bf18d463031a30d (diff)
downloadgcc-9cb22eea2143fb4e15bc7fc7950758041e4e35ac.zip
gcc-9cb22eea2143fb4e15bc7fc7950758041e4e35ac.tar.gz
gcc-9cb22eea2143fb4e15bc7fc7950758041e4e35ac.tar.bz2
vsx.md (define_insn "*stxvl"): Add missing argument to the sldi instruction.
gcc/ChangeLog: 2017-09-07 Carl Love <cel@us.ibm.com> * config/rs6000/vsx.md (define_insn "*stxvl"): Add missing argument to the sldi instruction. From-SVN: r251845
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/vsx.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90e15e5..138a776 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-07 Carl Love <cel@us.ibm.com>
+
+ * config/rs6000/vsx.md (define_insn "*stxvl"): Add missing argument to the sldi instruction.
+
2017-09-07 David Edelsohn <dje.gcc@gmail.com>
* sancov.c: Include tm_p.h.
diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md
index b47eeac..9b24c7b 100644
--- a/gcc/config/rs6000/vsx.md
+++ b/gcc/config/rs6000/vsx.md
@@ -4373,7 +4373,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")])