From: Pat Haugen Date: Fri, 13 Oct 2017 16:05:53 +0000 (+0000) Subject: rs6000.c (rs6000_builtin_vectorization_cost): Remove TARGET_P9_VECTOR code for unalig... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96ec425f5d90f64e40581e073d33cec1ee7369a0;p=gcc.git rs6000.c (rs6000_builtin_vectorization_cost): Remove TARGET_P9_VECTOR code for unaligned_load case. * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Remove TARGET_P9_VECTOR code for unaligned_load case. From-SVN: r253731 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fefac6e0c95..00be94fe349 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-10-13 Pat Haugen + + * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Remove + TARGET_P9_VECTOR code for unaligned_load case. + 2017-10-13 Jan Hubicka * cfghooks.c (verify_flow_info): Check that edge probabilities are diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index e6e254ac041..b08cd316e68 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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;