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

Kostya Serebryany kcc at google.com
Wed Jan 23 02:14:38 PST 2013


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/20130123/4afdd546/attachment.html>


More information about the cfe-dev mailing list