]> gcc.gnu.org Git - gcc.git/commitdiff
(CASE_VALUES_THRESHOLD): Define.
authorTom Wood <wood@gnu.org>
Thu, 25 Jun 1992 10:31:01 +0000 (10:31 +0000)
committerTom Wood <wood@gnu.org>
Thu, 25 Jun 1992 10:31:01 +0000 (10:31 +0000)
From-SVN: r1282

gcc/config/m88k/m88k.h

index 98499cb95f731514fe67818a3654baf454a96af1..34873c438774081d4cea01456f1b5cbb9149085b 100644 (file)
@@ -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
 
This page took 0.067803 seconds and 5 git commands to generate.