[Target maintainers]: Please update libjava/sysdep/*/locks.h with new atomic builtins

John David Anglin dave.anglin@bell.net
Tue Jun 19 18:20:00 GMT 2012


On 6/14/2012 5:41 AM, Uros Bizjak wrote:
> I would like to point out that in libjava/sysdep/*/lockThe syncs.h many
> targets still implement atomics in assembly. These utility functions
> can be implemented with new atomic builtins, avoiding quite some
> compexity.
This requires changes to the testsuite and user code to link against 
libatomic.
So, I'm not sure this is an improvement.

The sync builtins aren't supported on hpux.

Dave

-- 
John David Anglin    dave.anglin@bell.net



More information about the Gcc mailing list