diff options
author | Andrew Bennett <andrew.bennett@imgtec.com> | 2014-06-03 10:22:09 +0000 |
---|---|---|
committer | Andrew Bennett <abennett@gcc.gnu.org> | 2014-06-03 10:22:09 +0000 |
commit | 35773f5380469a344bba33ed73ba793c862a78cd (patch) | |
tree | 26b8b112537978875b1ff54287aabf919fb93711 /gcc | |
parent | d3fb5cf063a3f9d664d8b863070a1b7cabebba13 (diff) | |
download | gcc-35773f5380469a344bba33ed73ba793c862a78cd.zip gcc-35773f5380469a344bba33ed73ba793c862a78cd.tar.gz gcc-35773f5380469a344bba33ed73ba793c862a78cd.tar.bz2 |
Add support for the MIPS -mxpa command line option.
2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
* doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
options.
* config/mips/mips.opt (mxpa): New option.
* config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
assembler.
From-SVN: r211172
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 1 | ||||
-rw-r--r-- | gcc/config/mips/mips.opt | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
4 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9664949..f9a4e42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com> + + * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line + options. + * config/mips/mips.opt (mxpa): New option. + * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the + assembler. + 2014-06-03 Martin Jambor <mjambor@suse.cz> PR ipa/61160 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 933e053..bd6dc45 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -1140,6 +1140,7 @@ struct mips_cpu_info { %{mmcu} %{mno-mcu} \ %{meva} %{mno-eva} \ %{mvirt} %{mno-virt} \ +%{mxpa} %{mno-xpa} \ %{msmartmips} %{mno-smartmips} \ %{mmt} %{mno-mt} \ %{mfix-rm7000} %{mno-fix-rm7000} \ diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index 6ee5398..c992cee 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -392,6 +392,10 @@ mvirt Target Report Var(TARGET_VIRT) Use Virtualization Application Specific instructions +mxpa +Target Report Var(TARGET_XPA) +Use eXtended Physical Address (XPA) instructions + mvr4130-align Target Report Mask(VR4130_ALIGN) Perform VR4130-specific alignment optimizations diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9475594..85a38c8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -785,6 +785,7 @@ Objective-C and Objective-C++ Dialects}. -mmcu -mmno-mcu @gol -meva -mno-eva @gol -mvirt -mno-virt @gol +-mxpa -mno-xpa @gol -mmicromips -mno-micromips @gol -mfpu=@var{fpu-type} @gol -msmartmips -mno-smartmips @gol @@ -17593,6 +17594,12 @@ Use (do not use) the MIPS Enhanced Virtual Addressing instructions. @opindex mno-virt Use (do not use) the MIPS Virtualization Application Specific instructions. +@item -mxpa +@itemx -mno-xpa +@opindex mxpa +@opindex mno-xpa +Use (do not use) the MIPS eXtended Physical Address (XPA) instructions. + @item -mlong64 @opindex mlong64 Force @code{long} types to be 64 bits wide. See @option{-mlong32} for |