diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-13 10:08:59 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-13 10:08:59 +0000 |
commit | 2331aa434ba9ea7db384aa8fa7afc438d66a4764 (patch) | |
tree | 4e5a5ae77f108036483e9d79859170f07a5a626c /gcc/params.def | |
parent | df423ec7770de59395c8d98dbd838c36f04cc164 (diff) | |
download | gcc-2331aa434ba9ea7db384aa8fa7afc438d66a4764.tar.gz |
Add param parloops-schedule
2015-10-13 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/67476
* doc/invoke.texi (@item parloops-schedule): New item.
* params.def (PARAM_PARLOOPS_SCHEDULE): New DEFPARAMENUM5.
* tree-parloops.c: Include params-enum.h.
(create_parallel_loop): Handle PARAM_PARLOOPS_SCHEDULE.
* testsuite/libgomp.c/autopar-3.c: New test.
* testsuite/libgomp.c/autopar-4.c: New test.
* testsuite/libgomp.c/autopar-5.c: New test.
* testsuite/libgomp.c/autopar-6.c: New test.
* testsuite/libgomp.c/autopar-7.c: New test.
* testsuite/libgomp.c/autopar-8.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228756 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index 8b8b9fe3ff7..dd073019d69 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -35,6 +35,11 @@ along with GCC; see the file COPYING3. If not see - The maximum acceptable value for the parameter (if greater than the minimum). + The DEFPARAMENUM<N> macro is similar, but instead of the minumum and maximum + arguments, it contains a list of <N> allowed strings, corresponding to + integer values 0..<N>-1. Note that the default argument needs to be + specified as one of the allowed strings, rather than an integer value. + Be sure to add an entry to invoke.texi summarizing the parameter. */ /* When branch is predicted to be taken with probability lower than this @@ -1153,6 +1158,13 @@ DEFPARAM (PARAM_PARLOOPS_CHUNK_SIZE, "Chunk size of omp schedule for loops parallelized by parloops", 0, 0, 0) +DEFPARAMENUM5 (PARAM_PARLOOPS_SCHEDULE, + "parloops-schedule", + "Schedule type of omp schedule for loops parallelized by " + "parloops (static, dynamic, guided, auto, runtime)", + static, + static, dynamic, guided, auto, runtime) + DEFPARAM (PARAM_MAX_SSA_NAME_QUERY_DEPTH, "max-ssa-name-query-depth", "Maximum recursion depth allowed when querying a property of an" |