[cfe-dev] __atomic_ builtins for 64-bit types in 32-bit mode

Kostya Serebryany kcc at google.com
Thu Jan 31 02:49:56 PST 2013


Folks,

Any other suggestion w.r.t __atomic_ builtins for 64-bit types in 32-bit
mode?

--kcc


On Wed, Jan 23, 2013 at 2:14 PM, Kostya Serebryany <kcc at google.com> wrote:

>
>
>
> On Wed, Jan 23, 2013 at 2:09 PM, Joerg Sonnenberger <
> joerg at britannica.bec.de> wrote:
>
>> On Wed, Jan 23, 2013 at 01:04:40PM +0400, Kostya Serebryany wrote:
>> > Looks like __atomic_ builtins for 64-bit types in 32-bit mode
>> > are not supported in the clang trunk, see e.g.
>> > http://llvm.org/bugs/show_bug.cgi?id=15034
>>
>> x86 I assume? That requires cmpxchg8, which needs at least Pentiumish
>> feature set. Does using -march help?
>>
>
> I tried -march=native -- no difference.
>
> --kcc
>
>
>>
>> Joerg
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130131/44254df8/attachment.html>


More information about the cfe-dev mailing list