From 525b640e8dc9e6063897a7ce80342834e0a7a344 Mon Sep 17 00:00:00 2001 From: Alexander Ivchenko Date: Wed, 3 Dec 2014 17:57:47 +0300 Subject: [4.9] Another backport from trunk of additional slm tuning. 2014-11-21 Evgeny Stupachenko * config/i386/i386.c (ix86_option_override_internal): Increase PARAM_MAX_COMPLETELY_PEELED_INSNS. Change-Id: I529a9297cb8d230a5821d73d5b462d433a8c2108 Signed-off-by: Alexander Ivchenko --- gcc-4.9/gcc/config/i386/i386.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc-4.9/gcc/config') 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 -- cgit v1.2.3