aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2017-07-23 15:32:37 +0000
committerWilliam Schmidt <wschmidt@gcc.gnu.org>2017-07-23 15:32:37 +0000
commit3597188b4b1c0cdc363d0d3965b2cd667d6b448d (patch)
treef42c9c90b7689fa8f158c4041dd304e408155dc4 /gcc
parentf36dda3b640088390c182eae1a44f07d1041eb27 (diff)
downloadgcc-3597188b4b1c0cdc363d0d3965b2cd667d6b448d.zip
gcc-3597188b4b1c0cdc363d0d3965b2cd667d6b448d.tar.gz
gcc-3597188b4b1c0cdc363d0d3965b2cd667d6b448d.tar.bz2
re PR target/80695 (gratuitous use of stxvx to store multiple pointers)
2017-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/80695 * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Reduce cost estimate for direct moves. From-SVN: r250461
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4554109..7116fa6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ PR target/80695
+ * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost):
+ Reduce cost estimate for direct moves.
+
2017-07-23 Uros Bizjak <ubizjak@gmail.com>
PR target/80569
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index d6be72b..0d7a63b 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -5757,7 +5757,7 @@ rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost,
if (TARGET_P9_VECTOR)
return TYPE_VECTOR_SUBPARTS (vectype) - 1 + 2;
else
- return TYPE_VECTOR_SUBPARTS (vectype) - 1 + 11;
+ return TYPE_VECTOR_SUBPARTS (vectype) - 1 + 5;
}
else
/* V2DFmode doesn't need a direct move. */