aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-04-14 21:17:41 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2014-04-22 16:16:39 -0700
commit9e6cad0bf43b0a704125f8e3302d5c49e90105e0 (patch)
treede272ab167b66e4eb469f354c3d4d610d408b160 /gcc-4.9
parentc16207898bba39af7a6ec6159ceee8623dcfb951 (diff)
downloadtoolchain_gcc-9e6cad0bf43b0a704125f8e3302d5c49e90105e0.tar.gz
toolchain_gcc-9e6cad0bf43b0a704125f8e3302d5c49e90105e0.tar.bz2
toolchain_gcc-9e6cad0bf43b0a704125f8e3302d5c49e90105e0.zip
[4.9] Add MXU support in gcc4.9 with -mmxu
See 793e263d62bb7f85426899cd7a86e821dd38d12a Change-Id: I51aed0f36c14417647bcd651eb5da622b2fb55a6
Diffstat (limited to 'gcc-4.9')
-rw-r--r--gcc-4.9/gcc/config/mips/mips.h1
-rw-r--r--gcc-4.9/gcc/config/mips/mips.opt4
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/mips/mips.h b/gcc-4.9/gcc/config/mips/mips.h
index 7e2d890cc..bedc45b54 100644
--- a/gcc-4.9/gcc/config/mips/mips.h
+++ b/gcc-4.9/gcc/config/mips/mips.h
@@ -1178,6 +1178,7 @@ struct mips_cpu_info {
%{mvirt} %{mno-virt} \
%{msmartmips} %{mno-smartmips} \
%{mmt} %{mno-mt} \
+%{mmxu} %{mno-mxu} \
%{mfix-rm7000} %{mno-fix-rm7000} \
%{mfix-vr4120} %{mfix-vr4130} \
%{mfix-24k} \
diff --git a/gcc-4.9/gcc/config/mips/mips.opt b/gcc-4.9/gcc/config/mips/mips.opt
index 835f611a5..6a1221f4f 100644
--- a/gcc-4.9/gcc/config/mips/mips.opt
+++ b/gcc-4.9/gcc/config/mips/mips.opt
@@ -307,6 +307,10 @@ mmt
Target Report Var(TARGET_MT)
Allow the use of MT instructions
+mmxu
+Target Report Var(TARGET_MXU)
+Allow the use of MXU instructions
+
mno-float
Target Report RejectNegative Var(TARGET_NO_FLOAT) Condition(TARGET_SUPPORTS_NO_FLOAT)
Prevent the use of all floating-point operations