aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/fpu
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-05 14:22:09 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-22 11:09:49 -0300
commitc9a30f08e145c4d48af331923f471eeaa22e520f (patch)
tree6728856edac235cbac8686a7353430d234da0165 /sysdeps/sparc/fpu
parent32c65b28f37fc6c328685e252f301ed34e3d5dfc (diff)
downloadglibc-c9a30f08e145c4d48af331923f471eeaa22e520f.tar
glibc-c9a30f08e145c4d48af331923f471eeaa22e520f.tar.gz
glibc-c9a30f08e145c4d48af331923f471eeaa22e520f.tar.bz2
glibc-c9a30f08e145c4d48af331923f471eeaa22e520f.zip
sparc: Use sqrt{f} builtin
It also enabled to use fsqrtd on sparc64. Checked on sparcv9-linux-gnu and sparc64-linux-gnu.
Diffstat (limited to 'sysdeps/sparc/fpu')
-rw-r--r--sysdeps/sparc/fpu/math-use-builtins-sqrt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/fpu/math-use-builtins-sqrt.h b/sysdeps/sparc/fpu/math-use-builtins-sqrt.h
new file mode 100644
index 0000000000..e94c915ba6
--- /dev/null
+++ b/sysdeps/sparc/fpu/math-use-builtins-sqrt.h
@@ -0,0 +1,4 @@
+#define USE_SQRT_BUILTIN 1
+#define USE_SQRTF_BUILTIN 1
+#define USE_SQRTL_BUILTIN 0
+#define USE_SQRTF128_BUILTIN 0