summaryrefslogtreecommitdiff
path: root/src/math/armebhf/fabs.sub
AgeCommit message (Collapse)AuthorLines
2016-01-20replace armhf math asm source files with inline asmRich Felker-1/+0
this makes it possible to inline them with LTO, and is the simplest approach to eliminating the use of .sub files. this also makes VFP sqrt available for use with the standard EABI (plain arm rather than armhf subarch) when libc is built with -mfloat-abi=softfp. the same could have been done for fabs, but when the argument and return value are in integer registers, moving to VFP registers and back is almost certainly more costly than a simple integer operation.
2013-08-16some initial math asm for armhf (fabs[f] and sqrt[f])Rich Felker-0/+1