it looks like the atomics available differ in older gccs
https://gcc.gnu.org/onlinedocs/gcc-4.5.4/gcc/Atomic-Builtins.html#Atomic-Builtins

https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Atomic-Builtins.html#Atomic-Builtins


On Wed, Jul 16, 2014 at 6:51 PM, Páli Gábor János <pali.ga...@gmail.com>
wrote:

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

Reply via email to