aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-12-08 02:02:08 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-08 02:02:09 +0000
commit10a15a8a1fc940f47b008004b9180c0852c3e143 (patch)
tree8071dc8233be9f904d746512602d81c9f305369b /gcc-4.9
parent407a2d5c2c63bdc0c842ffcd57a139ef8a4f33e2 (diff)
parent525b640e8dc9e6063897a7ce80342834e0a7a344 (diff)
downloadtoolchain_gcc-10a15a8a1fc940f47b008004b9180c0852c3e143.tar.gz
toolchain_gcc-10a15a8a1fc940f47b008004b9180c0852c3e143.tar.bz2
toolchain_gcc-10a15a8a1fc940f47b008004b9180c0852c3e143.zip
Merge "[4.9] Another backport from trunk of additional slm tuning."
Diffstat (limited to 'gcc-4.9')
-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