[Bug 230888] Missing 64 bit atomic functions for i386 (libatomic)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 9 22:00:25 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888
Tijl Coosemans <tijl at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tijl at FreeBSD.org
--- Comment #34 from Tijl Coosemans <tijl at FreeBSD.org> ---
(In reply to Dimitry Andric from comment #32)
For the old gcc you will probably have to use the __sync_* builtins as in our
stdatomic.h. But I think there's a problem with the implementation in
compiler_rt. Clang generates functions calls to compiler_rt if it can't inline
__c11_atomic_* (e.g. if the architecture only guarantees atomicity if an object
is properly aligned and a given object isn't aligned) so how can compiler_rt
then use __c11_atomic_*?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list