<div dir="ltr">On Sat, Aug 31, 2013 at 11:51 PM,  <span dir="ltr"><<a href="mailto:weimingz@codeaurora.org" target="_blank">weimingz@codeaurora.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The orignal patch (r178816) fixed bug 12730 for x86. This patch adds the<br>
same macro definitions "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}" to ARM<br>
target to address the same issue.<br>
<br>
Please help to review it.<br><br></blockquote><div><br></div><div>Is there any way we can compute the correct setting for these macros in a target-independent code?  IIRC, targets already expose some information about atomics.</div>
</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">-Eli</div></div>