This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, mips] Do not make -Os the default with mips-mti-elf target.
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Steve Ellcey " <sellcey at mips dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 08 Nov 2012 07:58:23 +0000
- Subject: Re: [patch, mips] Do not make -Os the default with mips-mti-elf target.
- References: <eac1aafa-a6d7-41c9-9ac6-b6abf69ed93b@EXCHHUB01.MIPS.com>
"Steve Ellcey " <sellcey@mips.com> writes:
> I noticed that because my new mips-mti-elf target includes config/mt-sde
> it uses the -Os option by default when building runtime libraries. I would
> like to remove the use of -Os so that the runtime performance for the
> mips-mti-elf target is improved. If users want the -Os flag they can use
> the existing --enable-target-optspace configure option to get it.
>
> This patch creates config/mt-mti that is like mt-sde but without -Os and
> changes the mips*-mti-elf* target to use that include file instead of mt-sde.
>
> Tested with the mips-mti-elf target.
>
> OK to checkin?
OK with me, thanks.
Just for the record, the SDE configuration is also effectively owned by MTI,
so if you think the same reasoning applies there, we could change mt-sde
instead. But if you want to keep SDE the way it is now then the patch is OK.
Richard