aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-08-15 11:36:10 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-08-15 11:36:10 +0800
commit793e263d62bb7f85426899cd7a86e821dd38d12a (patch)
tree144b04348f1236fdf04210b04eb225c5a409be3f /gcc-4.6
parentdb4af57502996870a3d0ef3018d017bf8bb9c069 (diff)
downloadtoolchain_gcc-793e263d62bb7f85426899cd7a86e821dd38d12a.tar.gz
toolchain_gcc-793e263d62bb7f85426899cd7a86e821dd38d12a.tar.bz2
toolchain_gcc-793e263d62bb7f85426899cd7a86e821dd38d12a.zip
Add MXU support in gcc4.6/4.7/4.8 with -mmxu
For Ingenic MXU. Change-Id: Ie7b465c971e3642b3244ac1a77b6f86be4ab4fea
Diffstat (limited to 'gcc-4.6')
-rw-r--r--gcc-4.6/gcc/config/mips/mips.h1
-rw-r--r--gcc-4.6/gcc/config/mips/mips.opt4
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.6/gcc/config/mips/mips.h b/gcc-4.6/gcc/config/mips/mips.h
index 79b806dd2..66478993b 100644
--- a/gcc-4.6/gcc/config/mips/mips.h
+++ b/gcc-4.6/gcc/config/mips/mips.h
@@ -1130,6 +1130,7 @@ enum mips_code_readable_setting {
%{mdspr2} %{mno-dspr2} \
%{msmartmips} %{mno-smartmips} \
%{mmt} %{mno-mt} \
+%{mmxu} %{mno-mxu} \
%{mfix-vr4120} %{mfix-vr4130} \
%(subtarget_asm_optimizing_spec) \
%(subtarget_asm_debugging_spec) \
diff --git a/gcc-4.6/gcc/config/mips/mips.opt b/gcc-4.6/gcc/config/mips/mips.opt
index 4be40b1d6..cb4bbbedf 100644
--- a/gcc-4.6/gcc/config/mips/mips.opt
+++ b/gcc-4.6/gcc/config/mips/mips.opt
@@ -234,6 +234,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