summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-12 13:31:39 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-12 13:31:39 +0000
commita55dd2315b949e25ab4db542d7943fdf0dc08fd4 (patch)
tree745ccdb3fdb8a6e02012ff1e00510d61d453fb5e /gcc/params.def
parentf2b3312b1728bd75bbae7041d7d7894bf3c3a76b (diff)
downloadgcc-a55dd2315b949e25ab4db542d7943fdf0dc08fd4.tar.gz
2009-06-12 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148428 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148430 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 6b0951c84ea..716d2e480aa 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -758,6 +758,17 @@ DEFPARAM (PARAM_SLP_MAX_INSNS_IN_BB,
"Maximum number of instructions in basic block to be considered for SLP vectorization",
1000, 0, 0)
+DEFPARAM (PARAM_MIN_INSN_TO_PREFETCH_RATIO,
+ "min-insn-to-prefetch-ratio",
+ "min. ratio of insns to prefetches to enable prefetching for "
+ "a loop with an unknown trip count",
+ 10, 0, 0)
+
+DEFPARAM (PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO,
+ "prefetch-min-insn-to-mem-ratio",
+ "min. ratio of insns to mem ops to enable prefetching in a loop",
+ 3, 0, 0)
+
/*
Local variables:
mode:c