From: Charles Hannum Date: Sat, 18 Apr 1992 19:55:56 +0000 (+0000) Subject: entered into RCS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1fde2b5bcb969337221f881ebde8f9f61fcb0af;p=gcc.git entered into RCS From-SVN: r781 --- diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index d54aef8560b..b6fad6cbb07 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -891,7 +891,7 @@ do \ /* The relative costs of various types of constants. Note that cse.c defines REG = 1, SUBREG = 2, any node = (2 + sum of subnodes). */ -#define CONST_COSTS(RTX, CODE) \ +#define CONST_COSTS(RTX, CODE, OUTER_CODE) \ case CONST_INT: \ if (const_ok_for_arm (INTVAL (RTX))) \ return (2); \ diff --git a/gcc/config/fx80/fx80.h b/gcc/config/fx80/fx80.h index 80839f33c62..01f738dfff2 100644 --- a/gcc/config/fx80/fx80.h +++ b/gcc/config/fx80/fx80.h @@ -870,7 +870,7 @@ extern enum reg_class regno_reg_class[]; of a switch statement. If the code is computed here, return it with a return statement. Otherwise, break from the switch. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ /* Constant zero is super cheap due to clr instruction. */ \ if (RTX == const0_rtx) return 0; \ diff --git a/gcc/config/gmicro/gmicro.h b/gcc/config/gmicro/gmicro.h index 24c4f50ab58..b726246019f 100644 --- a/gcc/config/gmicro/gmicro.h +++ b/gcc/config/gmicro/gmicro.h @@ -1177,7 +1177,7 @@ extern enum reg_class regno_reg_class[]; of a switch statement. If the code is computed here, return it with a return statement. Otherwise, break from the switch. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ if ((unsigned) INTVAL (RTX) < 8) return 0; \ if ((unsigned) (INTVAL (RTX) + 0x80) < 0x100) return 1; \ diff --git a/gcc/config/spur/spur.h b/gcc/config/spur/spur.h index bf6d347d227..49fbb7c2709 100644 --- a/gcc/config/spur/spur.h +++ b/gcc/config/spur/spur.h @@ -774,7 +774,7 @@ extern int current_function_pretend_args_size; of a switch statement. If the code is computed here, return it with a return statement. Otherwise, break from the switch. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ if (INTVAL (RTX) < 0x2000 && INTVAL (RTX) >= -0x2000) return 1; \ case CONST: \