From 793e263d62bb7f85426899cd7a86e821dd38d12a Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Thu, 15 Aug 2013 11:36:10 +0800 Subject: Add MXU support in gcc4.6/4.7/4.8 with -mmxu For Ingenic MXU. Change-Id: Ie7b465c971e3642b3244ac1a77b6f86be4ab4fea --- gcc-4.6/gcc/config/mips/mips.h | 1 + gcc-4.6/gcc/config/mips/mips.opt | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'gcc-4.6') 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 -- cgit v1.2.3