PATCH: Add pause intrinsic
Andrew Haley
aph@redhat.com
Mon May 30 10:39:00 GMT 2011
On 05/26/2011 08:37 PM, Basile Starynkevitch wrote:
> On Thu, 26 May 2011 13:48:13 -0400
> Paul Koning <paul_koning@dell.com> wrote:
>
>> Relax? Weird. "Pause" is just as weird. It might be an ia32 instruction,
>> so as an ia32 builtin it is a reasonable name But if you want a generic
>> builtin, you need a name that actually has some plausible connection with
>> what it does, and neither "pause" nor "relax" do that.
>
> I still think that having a builtin which do a "compiler flush" that is
> which spill all registers to memory is useful, eg a
> builtin_compiler_flush()
I don't see how it can do that without causing reload failures. You'd
have to be very careful somehow to identify user variables.
Andrew.
More information about the Gcc-patches
mailing list