From db2d5d467e2a6bb3bdc46c07f996e37a4d406198 Mon Sep 17 00:00:00 2001
From: Evgeny Stupachenko <evstupac@gmail.com>
Date: Fri, 21 Nov 2014 11:50:37 +0000
Subject: [PATCH] i386.c (ix86_option_override_internal): Increase
 PARAM_MAX_COMPLETELY_PEELED_INSNS.

	* config/i386/i386.c (ix86_option_override_internal): Increase
	PARAM_MAX_COMPLETELY_PEELED_INSNS.

From-SVN: r217914
---
 gcc/ChangeLog          | 5 +++++
 gcc/config/i386/i386.c | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5514ff707d99..af6add142b93 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-21  Evgeny Stupachenko  <evstupac@gmail.com>
+
+	* config/i386/i386.c (ix86_option_override_internal): Increase
+	PARAM_MAX_COMPLETELY_PEELED_INSNS.
+
 2014-11-21  Evgeny Stupachenko  <evstupac@gmail.com>
 
 	PR target/60451
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 805c430c2480..b017ace29fad 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -4122,6 +4122,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
-- 
GitLab