genautomata.c (VLA_HWINT_SHORTEN, [...]): Remove.
authorNeil Booth <neil@daikokuya.co.uk>
Tue, 23 Jul 2002 19:19:33 +0000 (19:19 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 23 Jul 2002 19:19:33 +0000 (19:19 +0000)
* genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
* df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
FOR_EACH_BB_IN_SBITMAP): Remove.
* gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
* haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
* loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
* regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.

From-SVN: r55685

gcc/ChangeLog
gcc/df.c
gcc/gcse.c
gcc/genautomata.c
gcc/haifa-sched.c
gcc/loop.c
gcc/regrename.c

index 8b37af29df73f4f72bbccc98699b26049c5d51dc..90bf680648c9004e4b8fdc963cc4167880053571 100644 (file)
@@ -1,3 +1,15 @@
+2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
+
+       * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
+       * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
+       FOR_EACH_BB_IN_SBITMAP): Remove.
+       * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
+       * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
+       LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
+       * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
+       PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
+       * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
+
 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
 
        * pretty-print.h: New file.
index 150778045e95a9bfed66a3c2760ef703564e0d84..ff900ab70423ff72958aa2a65629746fe37bd19e 100644 (file)
--- a/gcc/df.c
+++ b/gcc/df.c
@@ -153,8 +153,6 @@ when optimising a loop, only certain registers are of interest.
 Perhaps there should be a bitmap argument to df_analyse to specify
  which registers should be analysed?   */
 
-#define HANDLE_SUBREG
-
 #include "config.h"
 #include "system.h"
 #include "rtl.h"
@@ -177,18 +175,6 @@ do {                                                               \
   EXECUTE_IF_SET_IN_BITMAP (BITMAP, MIN, node_,                \
     {(BB) = BASIC_BLOCK (node_); CODE;});} while (0)
 
-#define FOR_EACH_BB_IN_BITMAP_REV(BITMAP, MIN, BB, CODE)       \
-do {                                                           \
-  unsigned int node_;                                          \
-  EXECUTE_IF_SET_IN_BITMAP_REV (BITMAP, node_,                 \
-    {(BB) = BASIC_BLOCK (node_); CODE;});} while (0)
-
-#define FOR_EACH_BB_IN_SBITMAP(BITMAP, MIN, BB, CODE)           \
-do {                                                            \
-  unsigned int node_;                                           \
-  EXECUTE_IF_SET_IN_SBITMAP (BITMAP, MIN, node_,                \
-    {(BB) = BASIC_BLOCK (node_); CODE;});} while (0)
-
 static struct obstack df_ref_obstack;
 static struct df *ddf;
 
index 620b98636be1e0058954e4ef7b33e52ba0fb0a70..69ca31f64e948bfafa58b607cd749fbda7dece45 100644 (file)
@@ -181,7 +181,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    be done by loop.c, which has more heuristics for when to move invariants
    out of loops.  At some point we might need to move some of those
    heuristics into gcse.c.  */
-#define FOLLOW_BACK_EDGES 1
 
 /* We support GCSE via Partial Redundancy Elimination.  PRE optimizations
    are a superset of those done by GCSE.
@@ -1293,10 +1292,6 @@ compute_sets (f)
 \f
 /* Hash table support.  */
 
-/* For each register, the cuid of the first/last insn in the block
-   that set it, or -1 if not set.  */
-#define NEVER_SET -1
-
 struct reg_avail_info
 {
   basic_block last_bb;
index a43b9834ec255b18c1e189c23c72e5a8bc42a7b9..08f81734574877b5715ebdff8849197727eb453f 100644 (file)
@@ -595,14 +595,8 @@ static struct obstack irp;
 
 #define VLA_HWINT_BEGIN(vla) (&VARRAY_WIDE_INT ((vla).varray, 0))
 
-/* Do not use side effects in the macro argument.  */
-#define VLA_HWINT_LAST(vla) (&VARRAY_WIDE_INT ((vla).varray,          \
-                                              (vla).length - 1))
-
 #define VLA_HWINT_NULLIFY(vla)  ((vla).length = 0)
 
-#define VLA_HWINT_SHORTEN(vla, n)  ((vla).length -= (n))
-
 #define VLA_HWINT_EXPAND(vla, n)                                      \
   do {                                                                \
     vla_hwint_t *const expand_vla_ptr = &(vla);                       \
index 7eb079b34445f1585cfa65a21db5a5a4821aa116..68a7e0d508bd00d3b1d520110617f39071f721df 100644 (file)
@@ -198,13 +198,6 @@ fix_sched_param (param, val)
 
 struct haifa_insn_data *h_i_d;
 
-#define DONE_PRIORITY  -1
-#define MAX_PRIORITY   0x7fffffff
-#define TAIL_PRIORITY  0x7ffffffe
-#define LAUNCH_PRIORITY        0x7f000001
-#define DONE_PRIORITY_P(INSN) (INSN_PRIORITY (INSN) < 0)
-#define LOW_PRIORITY_P(INSN) ((INSN_PRIORITY (INSN) & 0x7f000000) == 0)
-
 #define LINE_NOTE(INSN)                (h_i_d[INSN_UID (INSN)].line_note)
 #define INSN_TICK(INSN)                (h_i_d[INSN_UID (INSN)].tick)
 
index 595955210cba7ca235c671a370c24ca0571a17f0..177c4c5c919101d6f8a67c37f557e0d6edb9b811 100644 (file)
@@ -79,9 +79,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* For very tiny loops it is not worthwhile to prefetch even before the loop,
    since it is likely that the data are already in the cache.  */
 #define PREFETCH_BLOCKS_BEFORE_LOOP_MIN  2
-/* The minimal number of prefetch blocks that a loop must consume to make
-   the emitting of prefetch instruction in the body of loop worthwhile.  */
-#define PREFETCH_BLOCKS_IN_LOOP_MIN  6
 
 /* Parameterize some prefetch heuristics so they can be turned on and off
    easily for performance testing on new architecures.  These can be
@@ -146,12 +143,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define PREFETCH_CONDITIONAL 1
 #endif
 
-/* If the loop requires more prefetches than the target can process in
-   parallel then don't prefetch anything in that loop.  */
-#ifndef PREFETCH_LIMIT_TO_SIMULTANEOUS
-#define PREFETCH_LIMIT_TO_SIMULTANEOUS 1
-#endif
-
 #define LOOP_REG_LIFETIME(LOOP, REGNO) \
 ((REGNO_LAST_LUID (REGNO) - REGNO_FIRST_LUID (REGNO)))
 
index 6d7da30f2ece17fce8b5970422a35750aa8234b2..62629f0a4cbe049a7f33918852bee72a8aefde78 100644 (file)
 #include "toplev.h"
 #include "obstack.h"
 
-#ifndef REGNO_MODE_OK_FOR_BASE_P
-#define REGNO_MODE_OK_FOR_BASE_P(REGNO, MODE) REGNO_OK_FOR_BASE_P (REGNO)
-#endif
-
 #ifndef REG_MODE_OK_FOR_BASE_P
 #define REG_MODE_OK_FOR_BASE_P(REGNO, MODE) REG_OK_FOR_BASE_P (REGNO)
 #endif