diff options
author | H.J. Lu <hjl@gnu.org> | 2001-07-21 18:01:46 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2001-07-21 11:01:46 -0700 |
commit | 919b1aecc79318a3b85d77938abc429e0eb40b28 (patch) | |
tree | c0d3fac1b666bc5e7d5c8035330134510f35cf83 /gcc | |
parent | 0477256ccc79eee1f16dec52b9067df769a395c1 (diff) | |
download | gcc-919b1aecc79318a3b85d77938abc429e0eb40b28.zip gcc-919b1aecc79318a3b85d77938abc429e0eb40b28.tar.gz gcc-919b1aecc79318a3b85d77938abc429e0eb40b28.tar.bz2 |
mips.c (mips_cpu): Moved into ...
2001-07-21 H.J. Lu (hjl@gnu.org)
* config/mips/mips.c (mips_cpu): Moved into ...
(override_options): Here.
* config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
mips_tune.
(mips_cpu): Removed.
From-SVN: r44231
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 4 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 3 |
3 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5c95a9..eb09a38 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2001-07-21 H.J. Lu (hjl@gnu.org) + + * config/mips/mips.c (mips_cpu): Moved into ... + (override_options): Here. + + * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with + mips_tune. + (mips_cpu): Removed. + 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 7923234..fc181f6 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -202,9 +202,6 @@ enum processor_type mips_arch; /* The target cpu for optimization and scheduling. */ enum processor_type mips_tune; -/* Historical option for code generation and scheduling. */ -enum processor_type mips_cpu; - /* which instruction set architecture to use. */ int mips_isa; @@ -4706,6 +4703,7 @@ override_options () register int i, start; register int regno; register enum machine_mode mode; + register enum processor_type mips_cpu; mips_section_threshold = g_switch_set ? g_switch_value : MIPS_DEFAULT_GVALUE; diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index a7da887..e87177f 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -71,7 +71,7 @@ enum processor_type { }; /* Recast the cpu class to be the cpu attribute. */ -#define mips_cpu_attr ((enum attr_cpu)mips_cpu) +#define mips_cpu_attr ((enum attr_cpu)mips_tune) /* Which ABI to use. These are constants because abi64.h must check their value at preprocessing time. @@ -135,7 +135,6 @@ extern struct rtx_def *branch_cmp[2]; /* operands for compare */ extern enum cmp_type branch_type; /* what type of branch to use */ extern enum processor_type mips_arch; /* which cpu to codegen for */ extern enum processor_type mips_tune; /* which cpu to schedule for */ -extern enum processor_type mips_cpu; /* historical codegen/sched */ extern enum mips_abicalls_type mips_abicalls;/* for svr4 abi pic calls */ extern int mips_isa; /* architectural level */ extern int mips16; /* whether generating mips16 code */ |