From 35773f5380469a344bba33ed73ba793c862a78cd Mon Sep 17 00:00:00 2001 From: Andrew Bennett Date: Tue, 3 Jun 2014 10:22:09 +0000 Subject: [PATCH] Add support for the MIPS -mxpa command line option. 2014-06-03 Andrew Bennett * 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 | 8 ++++++++ gcc/config/mips/mips.h | 1 + gcc/config/mips/mips.opt | 4 ++++ gcc/doc/invoke.texi | 7 +++++++ 4 files changed, 20 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9664949256c..f9a4e42a16b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2014-06-03 Andrew Bennett + + * 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 PR ipa/61160 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 933e053d6a6..bd6dc45de66 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 6ee539837bb..c992ceeb71d 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 94755949d65..85a38c8f1b9 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 -- 2.30.2