agemogolk/clay — comment on commit 6560435b712e7750951a3a5891c87b8228486011
File: lib-clay/math/native/core.clay line 9
By agemogolk:

Tried it. It requires linking with libm which uses the simple a*b+c in
lieu of a built-in instruction. Rough timings show it to be slower than
the simple version i've used. Can put in platform specific calls to
intrinsics later on.

On 13/12/11 23:03, Joe Groff wrote:
> LLVM has an intrinsic for `fma`: http://llvm.org/docs/LangRef.html#int_fma Since vanilla x86 doesn't have an fma instruction it might not be a win to use it though (at least not on x86).
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/agemogolk/clay/commit/6560435b712e7750951a3a5891c87b8228486011#commitcomment-792096