summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-23 19:19:33 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-23 19:19:33 +0000
commitb491e489e9e7b17fd080ced622f1bb06f0df98eb (patch)
tree7c167bc3db68e8371493456ff6fe70c556fdc5fd /gcc
parent75e76012cbf951496140f1d982aa2e3f9c0c2e84 (diff)
downloadppe42-gcc-b491e489e9e7b17fd080ced622f1bb06f0df98eb.tar.gz
ppe42-gcc-b491e489e9e7b17fd080ced622f1bb06f0df98eb.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/df.c14
-rw-r--r--gcc/gcse.c5
-rw-r--r--gcc/genautomata.c6
-rw-r--r--gcc/haifa-sched.c7
-rw-r--r--gcc/loop.c9
-rw-r--r--gcc/regrename.c4
7 files changed, 12 insertions, 45 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8b37af29df7..90bf680648c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/df.c b/gcc/df.c
index 150778045e9..ff900ab7042 100644
--- 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;
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 620b98636be..69ca31f64e9 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -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)
/* 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;
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index a43b9834ec2..08f81734574 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -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); \
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 7eb079b3444..68a7e0d508b 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -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)
diff --git a/gcc/loop.c b/gcc/loop.c
index 595955210cb..177c4c5c919 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -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)))
diff --git a/gcc/regrename.c b/gcc/regrename.c
index 6d7da30f2ec..62629f0a4cb 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -36,10 +36,6 @@
#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
OpenPOWER on IntegriCloud