[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 12:23:41 UTC 2017


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

--- Comment #6 from Mikhail Fludkov <fludkov.me at gmail.com> ---
I've double checked that the patch fixes it. The code generated for the loop I
mentioned above looks like now:
   36f00: mfence 
   36f03: cmpl   $0x2,0x2e871e(%rip)        # 31f628 <once.11793>
   36f0a: jne    36f00 <_cairo_image_traps_compositor_get+0x30>

previously it looked like:
0x7f3fd67d4710 <_cairo_image_traps_compositor_get+48>   cmp $0x2, %eax
0x7f3fd67d4713 <_cairo_image_traps_compositor_get+51>   jne 0x7f3fd67d4710
<_cairo_image_traps_compositor_get+48>

-- 
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/f7c1e477/attachment.html>


More information about the cairo-bugs mailing list