aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/fpu/e_sqrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/fpu/e_sqrtf.c')
-rw-r--r--sysdeps/aarch64/fpu/e_sqrtf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/aarch64/fpu/e_sqrtf.c b/sysdeps/aarch64/fpu/e_sqrtf.c
index 67707ef..7380454 100644
--- a/sysdeps/aarch64/fpu/e_sqrtf.c
+++ b/sysdeps/aarch64/fpu/e_sqrtf.c
@@ -21,8 +21,6 @@
float
__ieee754_sqrtf (float s)
{
- float res;
- asm ("fsqrt %s0, %s1" : "=w" (res) : "w" (s));
- return res;
+ return __builtin_sqrtf (s);
}
strong_alias (__ieee754_sqrtf, __sqrtf_finite)