re PR target/80695 (gratuitous use of stxvx to store multiple pointers)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Sun, 23 Jul 2017 15:32:37 +0000 (15:32 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Sun, 23 Jul 2017 15:32:37 +0000 (15:32 +0000)
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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 4554109cc391c70ea108f910550b74ba85efe154..7116fa6cc83593e6c2dca66755408085b8af7d90 100644 (file)
@@ -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
index d6be72b6a29893966605630cd6318abcaa4cd9f0..0d7a63b514ec8819e87f4249e6260e4f1198d83b 100644 (file)
@@ -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.  */