Windows breakage -- again

Páli Gábor János pali.gabor at gmail.com
Wed Jul 16 22:23:58 UTC 2014


2014-07-16 23:56 GMT+02:00 Johan Tibell <johan.tibell at gmail.com>:
> 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.


More information about the ghc-devs mailing list