diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2011-07-05 17:45:38 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2011-07-05 17:45:38 +0000 |
commit | 3aa439ed17d7339192493926fd7e2562dd2bdf32 (patch) | |
tree | 095ec451919656cb15be5b1220e74f1a6d565dc4 /gcc/params.def | |
parent | fb237f9c64aee0430a51aefd60a5ca498d2dca40 (diff) | |
download | gcc-3aa439ed17d7339192493926fd7e2562dd2bdf32.zip gcc-3aa439ed17d7339192493926fd7e2562dd2bdf32.tar.gz gcc-3aa439ed17d7339192493926fd7e2562dd2bdf32.tar.bz2 |
Add --param case-values-threshold
From-SVN: r175878
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index d827121..78601f6 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -892,6 +892,16 @@ DEFPARAM (PARAM_MAX_STORES_TO_SINK, "Maximum number of conditional store pairs that can be sunk", 2, 0, 0) +/* Override CASE_VALUES_THRESHOLD of when to switch from doing switch + statements via if statements to using a table jump operation. If the value + is 0, the default CASE_VALUES_THRESHOLD will be used. */ +DEFPARAM (PARAM_CASE_VALUES_THRESHOLD, + "case-values-threshold", + "The smallest number of different values for which it is best to " + "use a jump-table instead of a tree of conditional branches, " + "if 0, use the default for the machine", + 0, 0, 0) + /* Local variables: |