rs6000.c (rs6000_builtin_vectorization_cost): Remove TARGET_P9_VECTOR code for unalig...
authorPat Haugen <pthaugen@us.ibm.com>
Fri, 13 Oct 2017 16:05:53 +0000 (16:05 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Fri, 13 Oct 2017 16:05:53 +0000 (16:05 +0000)
* config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Remove
TARGET_P9_VECTOR code for unaligned_load case.

From-SVN: r253731

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

index fefac6e..00be94f 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-13  Pat Haugen  <pthaugen@us.ibm.com>
+
+       * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Remove
+       TARGET_P9_VECTOR code for unaligned_load case.
+
 2017-10-13  Jan Hubicka  <hubicka@ucw.cz>
 
        * cfghooks.c (verify_flow_info): Check that edge probabilities are
index e6e254a..b08cd31 100644 (file)
@@ -5419,9 +5419,6 @@ rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost,
         return 3;
 
       case unaligned_load:
-       if (TARGET_P9_VECTOR)
-         return 3;
-
        if (TARGET_EFFICIENT_UNALIGNED_VSX)
          return 1;