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 fefac6e0c957aa5364355a3a2452c7615f4946eb..00be94fe3494a47cc924567d81f9cae25d6bb07c 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 e6e254ac0414cd307dae7c0d45b184cf690068ea..b08cd316e6876fc85f61d8f6a28639efc2219734 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;