FMA is a fused multiply-add instruction. The fmaf (float x, float y, float z) function in glibc calls the vfmadd213ss instruction. The fma(double x, double y, double z) use double type. The enter link description here give a software implementation of the fma,but the code too complicated. I want to implement a fast approximate fma function and the error of result is not too large. I hope call it when I implement the powf() function.
Asked
Active
Viewed 36 times
0
Robert Crovella
- 143,785
- 11
- 213
- 257
xiaohuihui
- 45
- 4