* sh.h (GIV_SORT_CRITERION): Delete.

From-SVN: r21966
This commit is contained in:
J"orn Rennecke 1998-08-25 11:43:35 +00:00 committed by Joern Rennecke
parent b80c4d770a
commit 9a855d8486
3 changed files with 4 additions and 17 deletions

View File

@ -1,3 +1,7 @@
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>
* regclass.c (regclass): Use xmalloc/free instead of alloca.

View File

@ -1945,14 +1945,6 @@ do { \
cost = 2; \
} 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. */
#define HAVE_ATEXIT

View File

@ -7454,15 +7454,6 @@ unit may not be bound to undefined symbols in another translation unit
without user intervention. For instance, under Microsoft Windows
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
@item ISSUE_RATE
A C expression that returns how many instructions can be issued at the