Commit e1fde2b5 by Charles Hannum

entered into RCS

From-SVN: r781
parent def9623c
...@@ -891,7 +891,7 @@ do \ ...@@ -891,7 +891,7 @@ do \
/* The relative costs of various types of constants. Note that cse.c defines /* The relative costs of various types of constants. Note that cse.c defines
REG = 1, SUBREG = 2, any node = (2 + sum of subnodes). */ 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: \ case CONST_INT: \
if (const_ok_for_arm (INTVAL (RTX))) \ if (const_ok_for_arm (INTVAL (RTX))) \
return (2); \ return (2); \
......
...@@ -870,7 +870,7 @@ extern enum reg_class regno_reg_class[]; ...@@ -870,7 +870,7 @@ extern enum reg_class regno_reg_class[];
of a switch statement. If the code is computed here, of a switch statement. If the code is computed here,
return it with a return statement. Otherwise, break from the switch. */ 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: \ case CONST_INT: \
/* Constant zero is super cheap due to clr instruction. */ \ /* Constant zero is super cheap due to clr instruction. */ \
if (RTX == const0_rtx) return 0; \ if (RTX == const0_rtx) return 0; \
......
...@@ -1177,7 +1177,7 @@ extern enum reg_class regno_reg_class[]; ...@@ -1177,7 +1177,7 @@ extern enum reg_class regno_reg_class[];
of a switch statement. If the code is computed here, of a switch statement. If the code is computed here,
return it with a return statement. Otherwise, break from the switch. */ 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: \ case CONST_INT: \
if ((unsigned) INTVAL (RTX) < 8) return 0; \ if ((unsigned) INTVAL (RTX) < 8) return 0; \
if ((unsigned) (INTVAL (RTX) + 0x80) < 0x100) return 1; \ if ((unsigned) (INTVAL (RTX) + 0x80) < 0x100) return 1; \
......
...@@ -774,7 +774,7 @@ extern int current_function_pretend_args_size; ...@@ -774,7 +774,7 @@ extern int current_function_pretend_args_size;
of a switch statement. If the code is computed here, of a switch statement. If the code is computed here,
return it with a return statement. Otherwise, break from the switch. */ 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: \ case CONST_INT: \
if (INTVAL (RTX) < 0x2000 && INTVAL (RTX) >= -0x2000) return 1; \ if (INTVAL (RTX) < 0x2000 && INTVAL (RTX) >= -0x2000) return 1; \
case CONST: \ case CONST: \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment