From 9e6cad0bf43b0a704125f8e3302d5c49e90105e0 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Mon, 14 Apr 2014 21:17:41 -0700 Subject: [4.9] Add MXU support in gcc4.9 with -mmxu See 793e263d62bb7f85426899cd7a86e821dd38d12a Change-Id: I51aed0f36c14417647bcd651eb5da622b2fb55a6 --- gcc-4.9/gcc/config/mips/mips.h | 1 + gcc-4.9/gcc/config/mips/mips.opt | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'gcc-4.9/gcc/config') 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 -- cgit v1.2.3