x86_64: add single instruction fma
fma is only available on recent x86_64 cpus and it is much faster than a software fma, so this should be done with a runtime check, however that requires more changes, this patch just adds the code so it can be tested when musl is compiled with -mfma or -mfma4.
Showing
src/math/x32/fma.c
0 → 100644
src/math/x32/fmaf.c
0 → 100644
src/math/x86_64/fma.c
0 → 100644
src/math/x86_64/fmaf.c
0 → 100644
想要评论请 注册 或 登录