Commit 37706dd1 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

defaults.h (REGISTER_MOVE_COST): Define default here.

	* 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
parent 3461133d
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> 2003-06-27 Richard Earnshaw <rearnsha@arm.com>
* flags.h: Really install previous change. * flags.h: Really install previous change.
......
...@@ -621,6 +621,10 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! ...@@ -621,6 +621,10 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C) #define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C)
#endif #endif
#ifndef REGISTER_MOVE_COST
#define REGISTER_MOVE_COST(m, x, y) 2
#endif
/* Determine whether the the entire c99 runtime /* Determine whether the the entire c99 runtime
is present in the runtime library. */ is present in the runtime library. */
#ifndef TARGET_C99_FUNCTIONS #ifndef TARGET_C99_FUNCTIONS
......
...@@ -45,10 +45,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -45,10 +45,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "ggc.h" #include "ggc.h"
#include "timevar.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_sets_1 PARAMS ((void));
static void init_reg_modes PARAMS ((void)); static void init_reg_modes PARAMS ((void));
static void init_reg_autoinc PARAMS ((void)); static void init_reg_autoinc PARAMS ((void));
......
...@@ -105,10 +105,6 @@ a register with any other reload. */ ...@@ -105,10 +105,6 @@ a register with any other reload. */
#include "function.h" #include "function.h"
#include "toplev.h" #include "toplev.h"
#ifndef REGISTER_MOVE_COST
#define REGISTER_MOVE_COST(m, x, y) 2
#endif
#ifndef REGNO_MODE_OK_FOR_BASE_P #ifndef REGNO_MODE_OK_FOR_BASE_P
#define REGNO_MODE_OK_FOR_BASE_P(REGNO, MODE) REGNO_OK_FOR_BASE_P (REGNO) #define REGNO_MODE_OK_FOR_BASE_P(REGNO, MODE) REGNO_OK_FOR_BASE_P (REGNO)
#endif #endif
......
...@@ -78,10 +78,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -78,10 +78,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
fixing up each insn, and generating the new insns to copy values fixing up each insn, and generating the new insns to copy values
into the reload registers. */ into the reload registers. */
#ifndef REGISTER_MOVE_COST
#define REGISTER_MOVE_COST(m, x, y) 2
#endif
#ifndef LOCAL_REGNO #ifndef LOCAL_REGNO
#define LOCAL_REGNO(REGNO) 0 #define LOCAL_REGNO(REGNO) 0
#endif #endif
......
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