[Top] [All Lists]

Re: [PATCH]: R10000 Needs LL/SC Workaround in Gcc

To: "Maciej W. Rozycki" <>
Subject: Re: [PATCH]: R10000 Needs LL/SC Workaround in Gcc
From: Ralf Baechle <>
Date: Tue, 4 Nov 2008 14:31:27 +0000
Cc: Kumba <>,, Linux MIPS List <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <87abcjibsl.fsf@firetop.home> <> <87tzargrn4.fsf@firetop.home> <> <87prleh2hc.fsf@firetop.home> <> <87myggilk2.fsf@firetop.home> <> <> <>
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Nov 04, 2008 at 02:26:48PM +0000, Maciej W. Rozycki wrote:

> > Makes me wonder if there is a point in having a single gcc option, something
> > like -march=generic which selects something like this, including all
> > workarounds?
>  No, please don't.  If we decide to introduce it, someone will actually 
> decide to use it wasting computing power of good machines to handle corner 
> cases.  If somebody has a broken machine or a hardware vendor or a 
> distributor has interest in supporting a particular flavour of breakage, 
> then they are of course free to do so.  But please do not make it too easy 
> to spread.  Let's give the hardware folks some incentive to fix their 
> bugs. ;)

I guess honorable mention for the years to come in the GCC man page
(see -mfix-two-by-two-equals-five ;-)  can do wonders.


<Prev in Thread] Current Thread [Next in Thread>