NCG lowering of sqrt
Ben Gamari
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.
Cheers,
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170428/0bba8518/attachment.sig>
More information about the ghc-devs
mailing list