<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Incorrect code generation for atomic operations if HAVE_INTEL_ATOMIC_PRIMITIVES defined"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103559#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Incorrect code generation for atomic operations if HAVE_INTEL_ATOMIC_PRIMITIVES defined"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103559">bug 103559</a>
              from <span class="vcard"><a class="email" href="mailto:fludkov.me@gmail.com" title="Mikhail Fludkov <fludkov.me@gmail.com>"> <span class="fn">Mikhail Fludkov</span></a>
</span></b>
        <pre>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></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>