diff options
author | ths <ths@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-25 12:05:48 +0000 |
---|---|---|
committer | ths <ths@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-25 12:05:48 +0000 |
commit | e6a71de3ca57ecfd5437ad3c45b3d795601c2b47 (patch) | |
tree | 4bf01dcdb081595abc17dd7312a331135339ffde /gcc/config/mips | |
parent | f8655ffd5f308e5d3c40d50e1c1d9eafcf7c78d4 (diff) | |
download | gcc-e6a71de3ca57ecfd5437ad3c45b3d795601c2b47.tar.gz |
* config/mips/mips.opt (mdmx, mmt, mno-mdmx): New options.
(mips16): Fix typo.
* config/mips/mips.h (ASM_SPEC): Pass -mmt/-mno-mt and -mdmx/-mno-mdmx
on to the assembler. Improve handling of -mno-mips16. Add handling
of -mno-mips3d, -mno-dsp, -mno-dspr2.
* doc/invoke.texi (MIPS Options): Whitespace cleanup. Fix wrong use
of @itemx. Document -mno-dsp, -mno-dspr2, -mno-paired-single, -mdmx,
-mno-mdmx, -mno-mips3d, -mmt and -mno-mt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124153 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.h | 10 | ||||
-rw-r--r-- | gcc/config/mips/mips.opt | 14 |
2 files changed, 19 insertions, 5 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index f1773bcbaaa..72845436cfd 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -844,10 +844,12 @@ extern const struct mips_rtx_cost_data *mips_cost; #define ASM_SPEC "\ %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} \ %{mips32} %{mips32r2} %{mips64} \ -%{mips16:%{!mno-mips16:-mips16}} %{mno-mips16:-no-mips16} \ -%{mips3d:-mips3d} \ -%{mdsp} \ -%{mdspr2} \ +%{mips16} %{mno-mips16:-no-mips16} \ +%{mips3d} %{mno-mips3d:-no-mips3d} \ +%{mdmx} %{mno-mdmx:-no-mdmx} \ +%{mdsp} %{mno-dsp} \ +%{mdspr2} %{mno-dspr2} \ +%{mmt} %{mno-mt} \ %{mfix-vr4120} %{mfix-vr4130} \ %(subtarget_asm_optimizing_spec) \ %(subtarget_asm_debugging_spec) \ diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index db6055ce7a9..f0c2dbf4c33 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -51,6 +51,10 @@ mdivide-traps Target Report RejectNegative InverseMask(DIVIDE_BREAKS, DIVIDE_TRAPS) Use trap instructions to check for integer divide by zero +mdmx +Target Report RejectNegative Var(TARGET_MDMX) +Allow the use of MDMX instructions + mdouble-float Target Report RejectNegative InverseMask(SINGLE_FLOAT, DOUBLE_FLOAT) Allow hardware floating-point instructions to cover both 32-bit and 64-bit operations @@ -147,7 +151,7 @@ Target RejectNegative Joined mips16 Target Report RejectNegative Mask(MIPS16) -Generate mips16 code +Generate MIPS16 code mips3d Target Report RejectNegative Mask(MIPS3D) @@ -173,10 +177,18 @@ mmips-tfile Target Use the mips-tfile postpass +mmt +Target Report Var(TARGET_MT) +Allow the use of MT instructions + mno-flush-func Target RejectNegative Do not use a cache-flushing function before calling stack trampolines +mno-mdmx +Target Report RejectNegative InverseVar(MDMX) +Do not use MDMX instructions + mno-mips16 Target Report RejectNegative InverseMask(MIPS16) Generate normal-mode code |