summaryrefslogtreecommitdiff
path: root/src/math/powerpc64/trunc.c
AgeCommit message (Collapse)AuthorLines
2017-06-23powerpc64: add single-instruction math functionsRich Felker-0/+15
while the official elfv2 abi for "powerpc64le" sets power8 as the baseline isa, we use it for both little and big endian powerpc64 targets and need to maintain compatibility with pre-power8 models. the instructions for sqrt, fabs, and fma are in the baseline isa; support for the rest is conditional via predefined isa-level macros. patch by David Edelsohn.