RFR: 8187227: __m68k_cmpxchg() is not being used correctly

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Nov 21 10:41:53 UTC 2017


On 11/21/2017 11:37 AM, Andrew Haley wrote:
>> This sounds like a good idea. I'll look into using that. Might make the
>> code also more readable. Although I would be a bit worried that this
>> introduces too many layers of indirection, wouldn't it?
> 
> It's a a compiler builtin, so it should be (at least) as good as inline
> assembly.  It's GCC-specific, but that shouldn't matter.

Ok, that's what I guessed but I wasn't sure about. Thanks for confirming
it.

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list