[cairo-bugs] [Bug 103559] Incorrect code generation for atomic operations if HAVE_INTEL_ATOMIC_PRIMITIVES defined

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 6 11:17:49 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103559

--- Comment #4 from Adrian Johnson <ajohnson at redneon.com> ---
The gcc docs calls it legacy atomics. So maybe HAVE_GCC_LEGACY_ATOMICS.

I think the code is trying to be too clever. My view is just use the compiler
builtins and let the compiler figure out the optimal output. If you think the
compiler output is not optimal, file a bug with the compiler.

I would be in favor of cleaning it up to just use the builtins and get rid of
the broken optimizations.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20171106/fc45cd54/attachment.html>


More information about the cairo-bugs mailing list