aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorCatherine Moore <clm@codesourcery.com>2013-06-04 09:11:18 -0400
committerCatherine Moore <clm@gcc.gnu.org>2013-06-04 09:11:18 -0400
commit44b20bb8ce8bda790febf1e1afd33c4b97bfc8de (patch)
tree24e572bf760f77e31535abc68857f9563d738ce3 /gcc/config
parent52befbd84a16eb396f7bd73d6521d31ae2427493 (diff)
downloadgcc-44b20bb8ce8bda790febf1e1afd33c4b97bfc8de.zip
gcc-44b20bb8ce8bda790febf1e1afd33c4b97bfc8de.tar.gz
gcc-44b20bb8ce8bda790febf1e1afd33c4b97bfc8de.tar.bz2
mips.opt (meva): New.
2013-06-04 Catherine Moore <clm@codesourcery.com> * config/mips/mips.opt (meva): New. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_eva. (ASM_SPEC): Handle -meva. * doc/invoke.texi (meva): Document. From-SVN: r199649
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/mips/mips.h4
-rw-r--r--gcc/config/mips/mips.opt4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index a8cf1db..9f983db 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -399,6 +399,9 @@ struct mips_cpu_info {
if (TARGET_MCU) \
builtin_define ("__mips_mcu"); \
\
+ if (TARGET_EVA) \
+ builtin_define ("__mips_eva"); \
+ \
if (TARGET_DSP) \
{ \
builtin_define ("__mips_dsp"); \
@@ -1125,6 +1128,7 @@ struct mips_cpu_info {
%{mdsp} %{mno-dsp} \
%{mdspr2} %{mno-dspr2} \
%{mmcu} %{mno-mcu} \
+%{meva} %{mno-eva} \
%{msmartmips} %{mno-smartmips} \
%{mmt} %{mno-mt} \
%{mfix-vr4120} %{mfix-vr4130} \
diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt
index e11710d..08ab29b 100644
--- a/gcc/config/mips/mips.opt
+++ b/gcc/config/mips/mips.opt
@@ -141,6 +141,10 @@ membedded-data
Target Report Var(TARGET_EMBEDDED_DATA)
Use ROM instead of RAM
+meva
+Target Report Var(TARGET_EVA)
+Use Enhanced Virtual Addressing instructions
+
mexplicit-relocs
Target Report Mask(EXPLICIT_RELOCS)
Use NewABI-style %reloc() assembly operators