Benchmarking sigmoid function between C and D
kinke
kinke at libero.it
Mon Apr 9 10:15:33 UTC 2018
On Saturday, 7 April 2018 at 21:53:23 UTC, Guillaume Piolat wrote:
> Have you tried LLVM intrinsics? say llvm_exp
While LLVM does have math intrinsics, they seem to boil down to C
runtime calls in many/most cases. I.e., on Linux x86_64,
`llvm_exp(real)` simply maps to the C function `expl()` and thus
yields the same assembly as using `core.stdc.tgmath.exp(real)`:
https://run.dlang.io/is/kjtM1n
More information about the Digitalmars-d-learn
mailing list