[rfc] atomic memory operation builtins

Andrew Pinski pinskia@physics.uc.edu
Sun Apr 10 00:17:00 GMT 2005


On Apr 9, 2005, at 7:30 PM, Richard Henderson wrote:

> On Sat, Apr 09, 2005 at 11:03:08PM +0200, Ulrich Weigand wrote:
>> I have two concerns with implementing s390 back end support:
>>
>> - We only have compare-and-swap instructions for SImode and DImode,
>>   not for HImode or QImode.
>>
>> - The compare-and-swap insns require that their memory argument
>>   is naturally aligned, or else they throw an exception.
>
> As for ia64.

And PPC (which is different than any other instruction on PPC, well
maybe not the floating ones).

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list