commit | e9016138886527a739804634048aeac16092dc1e | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Sat Sep 22 21:43:42 2018 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Mon Oct 15 14:45:28 2018 -0400 |
tree | b7581245a4ff1da3f27bfdc5826ff362a8ab8430 | |
parent | 7396ef0a05b834bf92c4f268a3336c0bc10c3593 [diff] |
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.