Commit 9a855d84 by J"orn Rennecke Committed by Joern Rennecke

* sh.h (GIV_SORT_CRITERION): Delete.

From-SVN: r21966
parent b80c4d77
Tue Aug 25 19:20:12 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (GIV_SORT_CRITERION): Delete.
Tue Aug 25 13:19:46 1998 Dave Brolley <brolley@cygnus.com> Tue Aug 25 13:19:46 1998 Dave Brolley <brolley@cygnus.com>
* regclass.c (regclass): Use xmalloc/free instead of alloca. * regclass.c (regclass): Use xmalloc/free instead of alloca.
......
...@@ -1945,14 +1945,6 @@ do { \ ...@@ -1945,14 +1945,6 @@ do { \
cost = 2; \ cost = 2; \
} while (0) \ } while (0) \
/* Since the SH architecture lacks negative address offsets,
the givs should be sorted smallest to largest so combine_givs
has maximum opportunity to combine givs. */
#define GIV_SORT_CRITERION(X, Y) \
if (GET_CODE ((X)->add_val) == CONST_INT \
&& GET_CODE ((Y)->add_val) == CONST_INT) \
return INTVAL ((X)->add_val) - INTVAL ((Y)->add_val);
/* For the sake of libgcc2.c, indicate target supports atexit. */ /* For the sake of libgcc2.c, indicate target supports atexit. */
#define HAVE_ATEXIT #define HAVE_ATEXIT
......
...@@ -7454,15 +7454,6 @@ unit may not be bound to undefined symbols in another translation unit ...@@ -7454,15 +7454,6 @@ unit may not be bound to undefined symbols in another translation unit
without user intervention. For instance, under Microsoft Windows without user intervention. For instance, under Microsoft Windows
symbols must be explicitly imported from shared libraries (DLLs). symbols must be explicitly imported from shared libraries (DLLs).
@findex GIV_SORT_CRITERION
@item GIV_SORT_CRITERION (@var{giv1}, @var{giv2})
In some cases, the strength reduction optimization pass can produce better
code if this is defined. This macro controls the order that induction
variables are combined. This macro is particularly useful if the target has
limited addressing modes. For instance, the SH target has only positive
offsets in addresses. Thus sorting to put the smallest address first
allows the most combinations to be found.
@findex ISSUE_RATE @findex ISSUE_RATE
@item ISSUE_RATE @item ISSUE_RATE
A C expression that returns how many instructions can be issued at the A C expression that returns how many instructions can be issued at the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment