(GIV_SORT_CRITERION): Define.

From-SVN: r11669
This commit is contained in:
Jim Wilson 1996-04-04 12:12:59 -08:00
parent 7027f90aba
commit a8d762e1d2
1 changed files with 8 additions and 0 deletions

View File

@ -1589,5 +1589,13 @@ extern int pragma_interrupt;
/* ??? Define ADJUST_COSTS? */
/* 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