Re: [RFP] atomic[64]_[read|set] asm implementations

2007-08-15 Thread Russell King
On Wed, Aug 15, 2007 at 01:55:37PM -0400, Chris Snook wrote: > For architectures whose maintainers aren't worried and whose > developers/users aren't bothered enough to submit an inline assembly > patch, I'll just keep the inlines with the *(volatile foo *)& casts, > unless of course ISO clarifi

[RFP] atomic[64]_[read|set] asm implementations

2007-08-15 Thread Chris Snook
In the fallout from the recent atomic_t volatility discussions, patches have been posted to moot the compiler correctness issues by implementing atomic[64]_[read|set] in inline assembly on powerpc, i386, and x86_64. While I personally don't consider such implementations to be critically necessa