Date: Wed, 09 Sep 2020 22:00:22 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 230888] Missing 64 bit atomic functions for i386 (libatomic) Message-ID: <bug-230888-29464-0E1ssrbCrp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230888-29464@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 Tijl Coosemans <tijl@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tijl@FreeBSD.org --- Comment #34 from Tijl Coosemans <tijl@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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230888-29464-0E1ssrbCrp>
