diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-05-09 10:40:19 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-05-09 10:40:19 +0100 |
commit | d371df6f10a5f5262df075ada4848720910b7880 (patch) | |
tree | 3257fd24ba23b3c29971be1f3c9543bb608ffb32 /gcc/config/mips/mips.opt | |
parent | 4fc07af967e769a658c5aef0f40c860491fc132c (diff) | |
download | gcc-d371df6f10a5f5262df075ada4848720910b7880.zip gcc-d371df6f10a5f5262df075ada4848720910b7880.tar.gz gcc-d371df6f10a5f5262df075ada4848720910b7880.tar.bz2 |
gcc_update (gcc/config/mips/mips-tables.opt): New dependencies.
contrib:
* gcc_update (gcc/config/mips/mips-tables.opt): New dependencies.
gcc:
* config/mips/genopt.sh, config/mips/mips-cpus.def: New files.
* config/mips/mips-tables.opt: New file (generated).
* config.gcc (mips*-*-*): Add mips/mips-tables.opt to
extra_options.
* config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI,
MIPS_ARCH_OPTION_NATIVE): Define.
* config/mips/mips.c (mips_cpu_info_table): Move contents to
mips-cpus.def.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p,
mips_parse_cpu): Remove.
(mips_cpu_info_from_opt, mips_default_arch): New.
(mips_handle_option): Don't assert that global structures are in
use. Don't handle OPT_march_, OPT_mtune_ and OPT_mips here.
(mips_option_override): Use new variables and functions to set
state of these options. Use strcmp to check for individual CPU
names.
* config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default
definition.
* config/mips/mips.opt (march=): Use ToLower and Enum.
(mips): Use ToLower, Enum and Var.
(mtune=): Use ToLower and Enum.
* config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New.
From-SVN: r173561
Diffstat (limited to 'gcc/config/mips/mips.opt')
-rw-r--r-- | gcc/config/mips/mips.opt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index caa9246..e3294a7 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -59,7 +59,7 @@ Target Report Var(TARGET_MAD) Use PMC-style 'mad' instructions march= -Target RejectNegative Joined Var(mips_arch_string) +Target RejectNegative Joined Var(mips_arch_option) ToLower Enum(mips_arch_opt_value) -march=ISA Generate code for the given ISA mbranch-cost= @@ -222,7 +222,7 @@ Target Report Var(TARGET_INTERLINK_MIPS16) Init(0) Generate code that can be safely linked with MIPS16 code. mips -Target RejectNegative Joined +Target RejectNegative Joined ToLower Enum(mips_mips_opt_value) Var(mips_isa_option) -mipsN Generate code for ISA level N mips16 @@ -339,7 +339,7 @@ Target Report Mask(SYNCI) Use synci instruction to invalidate i-cache mtune= -Target RejectNegative Joined Var(mips_tune_string) +Target RejectNegative Joined Var(mips_tune_option) ToLower Enum(mips_arch_opt_value) -mtune=PROCESSOR Optimize the output for PROCESSOR muninit-const-in-rodata |