This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH ping] Re: Generate i486 code by default on FreeBSD/ia32
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Loren James Rittle <rittle at labs dot mot dot com>, Tijl Coosemans <tijl at coosemans dot org>
- Date: Tue, 22 Feb 2011 10:06:15 +0000 (GMT)
- Subject: [PATCH ping] Re: Generate i486 code by default on FreeBSD/ia32
- References: <201102061507.56052.tijl@coosemans.org> <alpine.LNX.2.00.1102080144490.8943@gerinyyl>
Ping.
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00353.html
Gerald
On Tue, 8 Feb 2011, Gerald Pfeifer wrote:
>> When targeting FreeBSD/ia32 6.0 and newer, cc1 uses -march=i486
>> -mtune=generic by default, i.e. when not passed -march/-mtune on the
>> command line. These are correct defaults.
>>
>> The gcc driver however always passes -march/-mtune to cc1 so that
>> default behaviour never kicks in. The driver's default values of
>> -march/-mtune are determined by ./configure (gcc/config.gcc).
> We really should address this with GCC 4.6. Right now, GCC on
> FreeBSD x86 underperforms quite a bit due to this.
>
> I'll be happy to commit this; who 's gonna bite and approve? ;-)
>
>> * config.gcc (FreeBSD/i386): Default arch is i486.