From 0b11ae2effd5541fc825924135c4adc468e911a4 Mon Sep 17 00:00:00 2001
From: meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 14 Mar 2002 23:31:50 +0000
Subject: Add --param max-unrolled-insns=<n> support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50787 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/params.def | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'gcc/params.def')

diff --git a/gcc/params.def b/gcc/params.def
index 2a1d3a3b12c..a064ca28132 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -89,6 +89,13 @@ DEFPARAM(PARAM_MAX_GCSE_PASSES,
 	"max-gcse-passes",
 	"The maximum number of passes to make when doing GCSE",
 	1)
+
+/* This parameter limits the number of insns in a loop that will be unrolled,
+   and by how much the loop is unrolled.  */
+DEFPARAM(PARAM_MAX_UNROLLED_INSNS,
+	 "max-unrolled-insns",
+	 "The maximum number of instructions to consider to unroll in a loop",
+	 100)
 /*
 Local variables:
 mode:c
-- 
cgit v1.2.1

