diff options
Diffstat (limited to 'gcc/config/stormy16/stormy16.h')
-rw-r--r-- | gcc/config/stormy16/stormy16.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 30f34a4748c..b8a90c49f47 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -2197,43 +2197,6 @@ do { \ /* Describing Relative Costs of Operations */ -/* A part of a C `switch' statement that describes the relative costs of - constant RTL expressions. It must contain `case' labels for expression - codes `const_int', `const', `symbol_ref', `label_ref' and `const_double'. - Each case must ultimately reach a `return' statement to return the relative - cost of the use of that kind of constant value in an expression. The cost - may depend on the precise value of the constant, which is available for - examination in X, and the rtx code of the expression in which it is - contained, found in OUTER_CODE. - - CODE is the expression code--redundant, since it can be obtained with - `GET_CODE (X)'. */ -#define CONST_COSTS(X, CODE, OUTER_CODE) \ - case CONST_INT: \ - if (INTVAL (X) < 16 && INTVAL (X) >= 0) \ - return COSTS_N_INSNS (1)/2; \ - if (INTVAL (X) < 256 && INTVAL (X) >= 0) \ - return COSTS_N_INSNS (1); \ - case CONST_DOUBLE: \ - case CONST: \ - case SYMBOL_REF: \ - case LABEL_REF: \ - return COSTS_N_INSNS(2); - -/* Like `CONST_COSTS' but applies to nonconstant RTL expressions. This can be - used, for example, to indicate how costly a multiply instruction is. In - writing this macro, you can use the construct `COSTS_N_INSNS (N)' to specify - a cost equal to N fast instructions. OUTER_CODE is the code of the - expression in which X is contained. - - This macro is optional; do not define it if the default cost assumptions are - adequate for the target machine. */ -#define RTX_COSTS(X, CODE, OUTER_CODE) \ - case MULT: \ - return COSTS_N_INSNS (35 + 6); \ - case DIV: \ - return COSTS_N_INSNS (51 - 6); - /* An expression giving the cost of an addressing mode that contains ADDRESS. If not defined, the cost is computed from the ADDRESS expression and the `CONST_COSTS' values. |