aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config
diff options
context:
space:
mode:
authorAlexander Ivchenko <alexander.ivchenko@intel.com>2014-12-03 17:57:47 +0300
committerAlexander Ivchenko <alexander.ivchenko@intel.com>2014-12-03 18:13:55 +0300
commit525b640e8dc9e6063897a7ce80342834e0a7a344 (patch)
tree45e6a93fd29e9da6c55fc330b654f8ba2274bc8b /gcc-4.9/gcc/config
parent7c4814998ce1e3d250ec934b5c0ecf5ed3a017aa (diff)
downloadtoolchain_gcc-525b640e8dc9e6063897a7ce80342834e0a7a344.tar.gz
toolchain_gcc-525b640e8dc9e6063897a7ce80342834e0a7a344.tar.bz2
toolchain_gcc-525b640e8dc9e6063897a7ce80342834e0a7a344.zip
[4.9] Another backport from trunk of additional slm tuning.
2014-11-21 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/i386.c (ix86_option_override_internal): Increase PARAM_MAX_COMPLETELY_PEELED_INSNS. Change-Id: I529a9297cb8d230a5821d73d5b462d433a8c2108 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
Diffstat (limited to 'gcc-4.9/gcc/config')
-rw-r--r--gcc-4.9/gcc/config/i386/i386.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/i386/i386.c b/gcc-4.9/gcc/config/i386/i386.c
index fcd5f0dd1..7226ee016 100644
--- a/gcc-4.9/gcc/config/i386/i386.c
+++ b/gcc-4.9/gcc/config/i386/i386.c
@@ -4050,6 +4050,12 @@ ix86_option_override_internal (bool main_args_p,
opts->x_param_values,
opts_set->x_param_values);
+ /* Increase full peel max insns parameter for x86. */
+ maybe_set_param_value (PARAM_MAX_COMPLETELY_PEELED_INSNS,
+ 200,
+ opts->x_param_values,
+ opts_set->x_param_values);
+
/* Enable sw prefetching at -O3 for CPUS that prefetching is helpful. */
if (opts->x_flag_prefetch_loop_arrays < 0
&& HAVE_prefetch