summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorabennett <abennett@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-03 10:22:09 +0000
committerabennett <abennett@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-03 10:22:09 +0000
commitc7078bf2f3201c113df17ac29aa17aa2ea5705ae (patch)
tree26b8b112537978875b1ff54287aabf919fb93711 /gcc/config/mips
parent7c1c3c9778dae8171cef5427b6aeb1f685525fc9 (diff)
downloadgcc-c7078bf2f3201c113df17ac29aa17aa2ea5705ae.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211172 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.h1
-rw-r--r--gcc/config/mips/mips.opt4
2 files changed, 5 insertions, 0 deletions
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