NCG lowering of sqrt
ben at smart-cactus.org
Fri Apr 28 15:01:26 UTC 2017
Ryan Yates <fryguybob at gmail.com> writes:
> Hi Kavon,
> I looked a bit and it does not appear that there is an SSE sqrt in the
> native code gen. It should be easy to add (see a similar addition here:
> https://phabricator.haskell.org/D3265). The x87 version was available for
> 32-bit. I think if you use the LLVM backend it will give you the SSE sqrt.
Indeed. I pushed a starting point to D3508; I haven't validated it but
there's a chance it will work. If not it would be great if someone could
pick it up. Otherwise I'll return to it when I have time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs