RFR: 8187227: Zero should use compiler built-ins for atomics on linux-m68k

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Nov 23 14:01:18 UTC 2017


Hi Robbin!

On 11/23/2017 02:38 PM, Robbin Ehn wrote:
> Hi, a bit out of scope, mostly for Andrew.
> 
> Not sure how old compiler you want to be use but __sync_XXX is 'legacy' since 4.7.
> So shouldn't we change to __atomic_XXX ?

Thanks for the heads-up!

Do you have a link to the manual where this is mentioned? I just want to
make sure the new functions are available on all targets supported by
Zero and gcc.

Also, since this particular changeset only removes the m68k-specific code,
I don't think we should incorporate your suggested change in this changeset,
but I guess it should be good to go after the ARM- and m68k-specific functions
have been removed.

Adrian

-- 
  .''`.  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