mips.h (processor_type): Remove PROCESSOR_DEFAULT, add PROCESSOR_MAX.
authorEric Christopher <echristo@redhat.com>
Thu, 2 Jun 2005 18:08:20 +0000 (18:08 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Thu, 2 Jun 2005 18:08:20 +0000 (18:08 +0000)
commitc1bd2d6675c9ef4eee8af1ded66b32f9238ef5eb
treec4c1f0ac0b576d592885fab389559d467e3b2882
parent3e3935a94ce8702a788cd3e76eab584ed09277e8
mips.h (processor_type): Remove PROCESSOR_DEFAULT, add PROCESSOR_MAX.

2005-06-02  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (processor_type): Remove PROCESSOR_DEFAULT,
add PROCESSOR_MAX.
(mips_rtx_cost_data): New datatype.
(MEMORY_MOVE_COST): Use data from structure.
(BRANCH_COST): Ditto.
(LOGICAL_OP_NON_SHORT_CIRCUIT): Define to zero.
* config/mips/mips.md (cpu): Rework for processor_type changes.
* config/mips/mips.c (mips_cost): New variable.
(DEFAULT_COSTS): Define.
(mips_rtx_cost_data): New.
(mips_rtx_costs): Use. Minor formatting changes. Use COSTS_N_INSNS
for NEG cost. Add support for FLOAT, UNSIGNED_FLOAT, FIX,
FLOAT_EXTEND, FLOAT_TRUNCATE, and SQRT.
(override_options): Set cost data.
(mips_register_move_cost): Formatting changes.
(bdesc_arrays): Use PROCESSOR_MAX.
(mips_init_builtins): Ditto.

From-SVN: r100503
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.md