diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-15 23:02:37 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-15 23:02:37 +0000 |
commit | 8baa3116abec21964bc5598fb69bc8c7367736b2 (patch) | |
tree | fa5a894d86cd3f32de044265e220a3ef414aec33 /gcc/config/mips/mips.opt | |
parent | aa387a21a4a1412b50c628e4110128524b212544 (diff) | |
download | gcc-8baa3116abec21964bc5598fb69bc8c7367736b2.tar.gz |
* toplev.c (display_target_options): Avoid unused variable warning if
TARGET_SWITCHES and TARGET_OPTIONS are both undefined.
* config/mips/mips.c (mips_arch_string, mips_tune_string): Make static.
(mips_isa_string, mips_abi_string, mips_fix_vr4130_string): Delete.
(mips_isa): Initialize to MIPS_ABI_DEFAULT.
(mips_isa_info): New variable.
(mips_parse_cpu): Remove the first argument and leave the caller
to report errors.
(TARGET_HANDLE_OPTION): Override default.
(mips_handle_option): New function. Move option validation code from...
(override_options): ...here. Update calls to mips_parse_cpu.
* config/mips/mips.h (mips_arch_string, mips_tune_string)
(mips_isa_string, mips_abi_string, TARGET_OPTIONS)
(SUBTARGET_TARGET_OPTIONS): Delete.
* config/mips/mips.opt (mabi=, march=, mflush-func=, mips)
(mno-flush-func, mtune=): New options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96536 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/mips.opt')
-rw-r--r-- | gcc/config/mips/mips.opt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index b93dce28f54..d512632df2a 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -1,3 +1,7 @@ +mabi= +Target RejectNegative Joined +-mabi=ABI Generate code that conforms to the given ABI + mabicalls Target Report Mask(ABICALLS) Use SVR4-style PIC @@ -6,6 +10,10 @@ mad Target Report Var(TARGET_MAD) Use PMC-style 'mad' instructions +march= +Target RejectNegative Joined +-march=ISA Generate code for the given ISA + mbranch-likely Target Report Mask(BRANCHLIKELY) Use Branch Likely instructions, overriding the architecture default @@ -84,6 +92,10 @@ mfp64 Target Report RejectNegative Mask(FLOAT64) Use 64-bit floating-point registers +mflush-func= +Target RejectNegative Joined +-mflush-func=FUNC Use FUNC to flush the cache before calling stack trampolines + mfused-madd Target Report Mask(FUSED_MADD) Generate floating-point multiply-add instructions @@ -104,6 +116,10 @@ mint64 Target Report RejectNegative Mask(INT64) Use a 64-bit int type +mips +Target RejectNegative Joined +-mipsN Generate code for ISA level N + mips16 Target Report RejectNegative Mask(MIPS16) Generate mips16 code @@ -132,6 +148,10 @@ mmips-tfile Target Use the mips-tfile postpass +mno-flush-func +Target RejectNegative +Do not use a cache-flushing function before calling stack trampolines + mno-mips16 Target Report RejectNegative InverseMask(MIPS16) Generate normal-mode code @@ -160,6 +180,10 @@ msym32 Target Report Var(TARGET_SYM32) Assume all symbols have 32-bit values +mtune= +Target RejectNegative Joined +-mtune=PROCESSOR Optimize the output for PROCESSOR + muninit-const-in-rodata Target Report Var(TARGET_UNINIT_CONST_IN_RODATA) Put uninitialized constants in ROM (needs -membedded-data) |