path: root/src/math/armhf/sqrt.s
diff options
authorRich Felker <>2016-01-20 01:09:57 +0000
committerRich Felker <>2016-01-20 01:09:57 +0000
commite4355bd6bec89688e8c739cd7b4c76e675643dca (patch)
tree53b4f0f0d7c5ba7e636edee2e0a977afacde931f /src/math/armhf/sqrt.s
parentcb1875eb4ff755fe6c5d1909f64fc4be1ee396ab (diff)
replace armhf math asm source files with inline asm
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.
Diffstat (limited to 'src/math/armhf/sqrt.s')
1 files changed, 0 insertions, 8 deletions
diff --git a/src/math/armhf/sqrt.s b/src/math/armhf/sqrt.s
deleted file mode 100644
index e38f060d..00000000
--- a/src/math/armhf/sqrt.s
+++ /dev/null
@@ -1,8 +0,0 @@
-.syntax unified
-.fpu vfp
-.text sqrt
-.type sqrt,%function
- vsqrt.f64 d0, d0
- bx lr