-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
mathsMathematical functionsMathematical functions
Description
Now we have a fma function, it would be useful to have some method for determining whether or not this is more efficient than the naive x*y+z, particularly for use in algorithms that use double-double style arithmetic (C provides the FP_FAST_FMA macro for this purpose).
From #8112 (comment), it seems that the best option is to expose TargetLowering::isFMAFasterThanFMulAndFAdd (presumably in base/sysinfo.jl?)
Metadata
Metadata
Assignees
Labels
mathsMathematical functionsMathematical functions