From: Jim Wilson Date: Fri, 1 Dec 1995 01:01:28 +0000 (-0800) Subject: (CONDITIONAL_REGISTER_USAGE): Correcting indentation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a4638841f72e959242e4ce57cb77bbb9335f86b;p=gcc.git (CONDITIONAL_REGISTER_USAGE): Correcting indentation. (MODE_DISP_OK_4, MODE_DISP_OK_8): Move definitions next to uses. From-SVN: r10658 --- diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 59068ba315e..a322a108c76 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -52,10 +52,10 @@ Boston, MA 02111-1307, USA. */ #define CONDITIONAL_REGISTER_USAGE \ /* Hitachi saves and restores mac registers on call. */ \ if (TARGET_HITACHI) \ - { \ - call_used_regs[MACH_REG] = 0; \ - call_used_regs[MACL_REG] = 0; \ - } + { \ + call_used_regs[MACH_REG] = 0; \ + call_used_regs[MACL_REG] = 0; \ + } /* ??? Need to write documentation for all SH options and add it to the invoke.texi file. */ @@ -800,9 +800,6 @@ extern int current_function_anonymous_args; them unless they have been allocated suitable hard regs. The symbol REG_OK_STRICT causes the latter definition to be used. */ -#define MODE_DISP_OK_4(X,MODE) ((GET_MODE_SIZE(MODE)==4) && ((unsigned)INTVAL(X)<64) && (!(INTVAL(X) &3))) -#define MODE_DISP_OK_8(X,MODE) ((GET_MODE_SIZE(MODE)==8) && ((unsigned)INTVAL(X)<60) && (!(INTVAL(X) &3))) - #ifndef REG_OK_STRICT /* Nonzero if X is a hard reg that can be used as a base reg @@ -856,6 +853,9 @@ extern int current_function_anonymous_args; The other macros defined here are used only in GO_IF_LEGITIMATE_ADDRESS. */ +#define MODE_DISP_OK_4(X,MODE) ((GET_MODE_SIZE(MODE)==4) && ((unsigned)INTVAL(X)<64) && (!(INTVAL(X) &3))) +#define MODE_DISP_OK_8(X,MODE) ((GET_MODE_SIZE(MODE)==8) && ((unsigned)INTVAL(X)<60) && (!(INTVAL(X) &3))) + #define BASE_REGISTER_RTX_P(X) \ ((GET_CODE (X) == REG && REG_OK_FOR_BASE_P (X)) \ || (GET_CODE (X) == SUBREG \