2014-07-16 23:56 GMT+02:00 Johan Tibell <[email protected]>:
> My reading of the docs was that if the platform doesn't support the needed
> instructions then GCC will generated a call to e.g. __sync_fetch_and_add_1,
> where that function *is provided by GCC* as a fallback.

I guess GCC would expect that somebody else will implement the given
functionality by an external function.

> Now I'm wondering if I'm supposed to supply that fallback.

I was told that you cannot reliably emulate those operations in user
mode, without loss in performance.
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to