<div dir="ltr">it looks like the atomics available differ in older gccs <div><a href="https://gcc.gnu.org/onlinedocs/gcc-4.5.4/gcc/Atomic-Builtins.html#Atomic-Builtins">https://gcc.gnu.org/onlinedocs/gcc-4.5.4/gcc/Atomic-Builtins.html#Atomic-Builtins</a> </div>

<div><a href="https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Atomic-Builtins.html#Atomic-Builtins">https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Atomic-Builtins.html#Atomic-Builtins</a><br></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Jul 16, 2014 at 6:51 PM, Páli Gábor János <span dir="ltr"><<a href="mailto:pali.gabor@gmail.com" target="_blank">pali.gabor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

2014-07-17 0:47 GMT+02:00 Niklas Larsson <<a href="mailto:metaniklas@gmail.com">metaniklas@gmail.com</a>>:<br>
<div class="">> I hope they can just be done away with at the source, that is to make gcc<br>
> generate the assembly primitives. GHC should already be built with i686, but<br>
> does that reach ghc-prim?<br>
<br>
</div>This depends on GCC -- if no -march=XXX is explicitly set, I guess it<br>
will take its default, which may vary platform by platform.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div>