2. #define CONST_COSTS(RTX, CODE, OUTER_CODE) \ case CONST_INT: \return target_const_costs (RTX, OUTER_CODE); \case CONST: \ return 5; \ case LABEL_REF: \ return 1; \ case SYMBOL_REF: \ return ((TARGET_SMALL_MODEL)? 2: 3); \ case CONST_DOUBLE: \ return 10; i dont know the corresponding macro in 3.4.6
It is now merged into RTX_COSTS.You should look at a small back-end, e.g. pdp11, and see how to rewrite these macros into functions (target hooks).
Paolo