aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@redhat.com>2002-03-14 23:31:50 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2002-03-14 23:31:50 +0000
commit03e9dbc91c347697d6eecbd5154a545b56349157 (patch)
tree3a30648951dcf2dfa89e7bdd5075907ab94779f9 /gcc/unroll.c
parent1224938570e27e78f1903333272707ed42d3bf54 (diff)
downloadgcc-03e9dbc91c347697d6eecbd5154a545b56349157.zip
gcc-03e9dbc91c347697d6eecbd5154a545b56349157.tar.gz
gcc-03e9dbc91c347697d6eecbd5154a545b56349157.tar.bz2
Add --param max-unrolled-insns=<n> support
From-SVN: r50787
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 2b94147..fc18938 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -147,6 +147,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "hard-reg-set.h"
#include "basic-block.h"
#include "predict.h"
+#include "params.h"
/* The prime factors looked for when trying to unroll a loop by some
number which is modulo the total number of iterations. Just checking
@@ -169,13 +170,6 @@ enum unroll_types
UNROLL_NAIVE
};
-/* This controls which loops are unrolled, and by how much we unroll
- them. */
-
-#ifndef MAX_UNROLLED_INSNS
-#define MAX_UNROLLED_INSNS 100
-#endif
-
/* Indexed by register number, if non-zero, then it contains a pointer
to a struct induction for a DEST_REG giv which has been combined with
one of more address givs. This is needed because whenever such a DEST_REG