* defaults.h (REGISTER_MOVE_COST): Define default here.
* regclass.c: Don't define default REGISTER_MOVE_COST here.
* reload.c, reload1.c: Ditto.
From-SVN: r68567
+2003-06-27 Hans-Peter Nilsson <hp@axis.com>
+
+ * defaults.h (REGISTER_MOVE_COST): Define default here.
+ * regclass.c: Don't define default REGISTER_MOVE_COST here.
+ * reload.c, reload1.c: Ditto.
+
2003-06-27 Richard Earnshaw <rearnsha@arm.com>
* flags.h: Really install previous change.
#define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C)
#endif
+#ifndef REGISTER_MOVE_COST
+#define REGISTER_MOVE_COST(m, x, y) 2
+#endif
+
/* Determine whether the the entire c99 runtime
is present in the runtime library. */
#ifndef TARGET_C99_FUNCTIONS
#include "ggc.h"
#include "timevar.h"
-#ifndef REGISTER_MOVE_COST
-#define REGISTER_MOVE_COST(m, x, y) 2
-#endif
-
static void init_reg_sets_1 PARAMS ((void));
static void init_reg_modes PARAMS ((void));
static void init_reg_autoinc PARAMS ((void));
#include "function.h"
#include "toplev.h"
-#ifndef REGISTER_MOVE_COST
-#define REGISTER_MOVE_COST(m, x, y) 2
-#endif
-
#ifndef REGNO_MODE_OK_FOR_BASE_P
#define REGNO_MODE_OK_FOR_BASE_P(REGNO, MODE) REGNO_OK_FOR_BASE_P (REGNO)
#endif
fixing up each insn, and generating the new insns to copy values
into the reload registers. */
-#ifndef REGISTER_MOVE_COST
-#define REGISTER_MOVE_COST(m, x, y) 2
-#endif
-
#ifndef LOCAL_REGNO
#define LOCAL_REGNO(REGNO) 0
#endif