* sh.h (GIV_SORT_CRITERION): Delete.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Tue, 25 Aug 1998 11:43:35 +0000 (11:43 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 25 Aug 1998 11:43:35 +0000 (12:43 +0100)
From-SVN: r21966

gcc/ChangeLog
gcc/config/sh/sh.h
gcc/tm.texi

index 0a129024f06d7595b055000c95c388ea4d8216ef..ae0884eae1421621fd4876cc1fbdca65fe74a607 100644 (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.
index a773ea2bd933b35e19820e1f39b9a1026beb760f..10936c78feea952270aed6f8bef5ad17790f46b1 100644 (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
 
index 1ec7537698e7d6f53b3de10eeb90d167ef722996..bf9aa4a05cf98cc6a7028655748c56f95f55ead7 100644 (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