[PATCH] Pass -mmt/-mno-mt on to the MIPS assembler

Thiemo Seufer ths@networkno.de
Mon Mar 26 18:00:00 GMT 2007


Hello All,

this patch passes -mmt/-mno-mt on to the MIPS assembler

Ok to install?


Thiemo


2007-03-26  Thiemo Seufer  <ths@mips.com>

	* config/mips/mips.opt (mmt): New option.
	* config/mips/mips.h (ASM_SPEC): Pass -mmt/-mno-mt and -mdmx/-mno-mdmx
	on to the assembler. Fix handling of -mno-mips3d. 


Index: gcc/config/mips/mips.opt
===================================================================
--- gcc/config/mips/mips.opt	(revision 123214)
+++ gcc/config/mips/mips.opt	(working copy)
@@ -173,6 +173,10 @@
 Target
 Use the mips-tfile postpass
 
+mmt
+Target Report Var(MT)
+Allow the use of MT instructions
+
 mno-flush-func
 Target RejectNegative
 Do not use a cache-flushing function before calling stack trampolines
Index: gcc/config/mips/mips.h
===================================================================
--- gcc/config/mips/mips.h	(revision 123214)
+++ gcc/config/mips/mips.h	(working copy)
@@ -821,9 +821,11 @@
 %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} \
 %{mips32} %{mips32r2} %{mips64} \
 %{mips16:%{!mno-mips16:-mips16}} %{mno-mips16:-no-mips16} \
-%{mips3d:-mips3d} \
+%{mips3d:%{!mno-mips3d:-mips3d}} %{mno-mips3d:-no-mips3d} \
+%{mdmx:%{!mno-mdmx:-mdmx}} %{mno-mdmx:-no-mdmx} \
 %{mdsp} \
 %{mdspr2} \
+%{mmt} \
 %{mfix-vr4120} %{mfix-vr4130} \
 %(subtarget_asm_optimizing_spec) \
 %(subtarget_asm_debugging_spec) \



More information about the Gcc-patches mailing list