[cairo-bugs] [Bug 90302] New: ATOMIC_OP_NEEDS_MEMORY_BARRIER configure check shouldn't be false for ARM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 4 08:23:54 PDT 2015


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

            Bug ID: 90302
           Summary: ATOMIC_OP_NEEDS_MEMORY_BARRIER configure check
                    shouldn't be false for ARM
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: froydnj at gmail.com
        QA Contact: cairo-bugs at cairographics.org

ATOMIC_OP_NEEDS_MEMORY_BARRIER, set by configure:

http://cgit.freedesktop.org/cairo/tree/build/aclocal.cairo.m4#n203

determines whether "atomic" loads need memory barriers prior to the load
itself.  I assume this was put in for performance reasons.

>From the above link, I can see that it's defined to false for x86/x86-64, which
makes sense.  What seems suspicious is that it's also defined to false for ARM,
which has much weaker memory ordering guarantees than x86 by default.

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


More information about the cairo-bugs mailing list