Add support for the MIPS -mxpa command line option.
authorAndrew Bennett <andrew.bennett@imgtec.com>
Tue, 3 Jun 2014 10:22:09 +0000 (10:22 +0000)
committerAndrew Bennett <abennett@gcc.gnu.org>
Tue, 3 Jun 2014 10:22:09 +0000 (10:22 +0000)
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

gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/mips.opt
gcc/doc/invoke.texi

index 9664949256cf66334a30b3ab30ecf9f607696b40..f9a4e42a16bcf0f21957b250e60240403bcb02fe 100644 (file)
@@ -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
index 933e053d6a6de7f418f2fbd400cad9ad241cd549..bd6dc45de6623cb865f713a250a7137f8775c5b0 100644 (file)
@@ -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} \
index 6ee539837bb502656ae694e7b72479e88be524ca..c992ceeb71d64eb94810b2c1e56146791551cfe4 100644 (file)
@@ -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
index 94755949d659134d4f739a30aa95223244e7828f..85a38c8f1b917c81f68a3b2cf31fa12217a6e374 100644 (file)
@@ -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