Bug fix 12730: Add support for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8} on ARM

weimingz at codeaurora.org weimingz at codeaurora.org
Wed Sep 4 23:03:49 PDT 2013


Thanks for the info.
I'll take a look into it.

Weiming

> On Sat, Aug 31, 2013 at 11:51 PM, <weimingz at codeaurora.org> wrote:
>
>> Hi,
>>
>> The orignal patch (r178816) fixed bug 12730 for x86. This patch adds the
>> same macro definitions "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}" to
>> ARM
>> target to address the same issue.
>>
>> Please help to review it.
>>
>>
> 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.
>
> -Eli
>





More information about the cfe-commits mailing list