diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-08-15 11:36:10 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-08-15 11:36:10 +0800 |
commit | 793e263d62bb7f85426899cd7a86e821dd38d12a (patch) | |
tree | 144b04348f1236fdf04210b04eb225c5a409be3f /gcc-4.7 | |
parent | db4af57502996870a3d0ef3018d017bf8bb9c069 (diff) | |
download | toolchain_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.7')
-rw-r--r-- | gcc-4.7/gcc/config/mips/mips.h | 1 | ||||
-rw-r--r-- | gcc-4.7/gcc/config/mips/mips.opt | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.7/gcc/config/mips/mips.h b/gcc-4.7/gcc/config/mips/mips.h index 5146cc5de..71c55d24f 100644 --- a/gcc-4.7/gcc/config/mips/mips.h +++ b/gcc-4.7/gcc/config/mips/mips.h @@ -1129,6 +1129,7 @@ struct mips_cpu_info { %{mdspr2} %{mno-dspr2} \ %{msmartmips} %{mno-smartmips} \ %{mmt} %{mno-mt} \ +%{mmxu} %{mno-mxu} \ %{mfix-vr4120} %{mfix-vr4130} \ %{mfix-24k} \ %{noasmopt:-O0; O0|fno-delayed-branch:-O1; O*:-O2; :-O1} \ diff --git a/gcc-4.7/gcc/config/mips/mips.opt b/gcc-4.7/gcc/config/mips/mips.opt index 8dba482ce..8f01998a6 100644 --- a/gcc-4.7/gcc/config/mips/mips.opt +++ b/gcc-4.7/gcc/config/mips/mips.opt @@ -269,6 +269,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 |