summaryrefslogtreecommitdiff
path: root/src/math/x32/fma.c
AgeCommit message (Collapse)AuthorLines
2018-10-15x86_64: add single instruction fmaSzabolcs Nagy-0/+23
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.