On Wednesday, 21 September 2016 06:56:45 UTC+1, Chris Rackauckas wrote:
> Hi,
>   First of all, does LLVM essentially fma or muladd expressions like 
> `a1*x1 + a2*x2 + a3*x3 + a4*x4`? Or is it required that one explicitly use 
> `muladd` and `fma` on these types of instructions (is there a macro for 
> making this easier)?

You will generally need to use muladd, unless you use @fastmath.


>   Secondly, I am wondering if my setup is no applying these operations 
> correctly. Here's my test code:

If you're using the prebuilt downloads (as opposed to building from 
source), you will need to rebuild the sysimg (look in 
contrib/build_sysimg.jl) as we build for the lowest-common architecture.


Reply via email to