aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wood <wood@gnu.org>1992-06-25 10:31:01 +0000
committerTom Wood <wood@gnu.org>1992-06-25 10:31:01 +0000
commitcc61d0dec451a7a3bd0756a0894981be4c07d790 (patch)
treea09521aba100016530c4ad770919354e8c95f7aa
parente5671f2b6ef5a998cefe72b889dffaac288e6379 (diff)
downloadgcc-cc61d0dec451a7a3bd0756a0894981be4c07d790.zip
gcc-cc61d0dec451a7a3bd0756a0894981be4c07d790.tar.gz
gcc-cc61d0dec451a7a3bd0756a0894981be4c07d790.tar.bz2
(CASE_VALUES_THRESHOLD): Define.
From-SVN: r1282
-rw-r--r--gcc/config/m88k/m88k.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h
index 98499cb..34873c4 100644
--- a/gcc/config/m88k/m88k.h
+++ b/gcc/config/m88k/m88k.h
@@ -1404,6 +1404,15 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
actually ignored by the `case' insn proper. */
/* #define CASE_DROPS_THROUGH */
+/* Define this to be the smallest number of different values for which it
+ is best to use a jump-table instead of a tree of conditional branches.
+ The default is 4 for machines with a casesi instruction and 5 otherwise.
+ The best 88110 number is around 7, though the exact number isn't yet
+ known. A third alternative for the 88110 is to use a binary tree of
+ bb1 instructions on bits 2/1/0 if the range is dense. This may not
+ win very much though. */
+#define CASE_VALUES_THRESHOLD (TARGET_88100 ? 4 : 7)
+
/* Specify the tree operation to be used to convert reals to integers. */
#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR