This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Allow -mno-smartmips for MIPS


Hi All,

  This patch fixes "mips.opt" to accept "-mno-smartmips".
Based on gcc/ChangeLog-2007, "-msmartmips/-mno-smartmips"
are allowed and passed to the assembler.
Ex:
2007-07-05  Sandra Loosemore  <sandra@codesourcery.com>
            David Ung  <davidu@mips.com>

        Add support for SmartMIPS ASE.
        * config/mips/mips.c
        (ASM_SPEC): Add -msmartmips/-mno-smartmips.
        * doc/invoke.texi (MIPS Options): Document -msmartmips/-mno-smartmips.

  Is this patch ok?  Thanks a lot!

Regards,
Chao-ying

gcc/ChangeLog

2008-10-21  Chao-ying Fu  <fu@mips.com>

	* config/mips/mips.opt (msmartmips): Accept -mno-smartmips.

Index: mips.opt
===================================================================
--- mips.opt    (revision 141279)
+++ mips.opt    (working copy)
@@ -249,7 +249,7 @@
 Restrict the use of hardware floating-point instructions to 32-bit operations

 msmartmips
-Target Report RejectNegative Mask(SMARTMIPS)
+Target Report Mask(SMARTMIPS)
 Use SmartMIPS instructions

 msoft-float


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]