about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/math-use-builtins-sqrt.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-04 20:46:34 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-06-22 11:09:49 -0300
commitd19d25dd063af97ff04b2cb1db967a646b150332 (patch)
tree0283a893b41b1dfe95f56cacc8872410e0c52ecd /sysdeps/x86_64/fpu/math-use-builtins-sqrt.h
parent169ea8f928fc04a2824f67b2f69b6355a00153b2 (diff)
downloadglibc-d19d25dd063af97ff04b2cb1db967a646b150332.tar.gz
glibc-d19d25dd063af97ff04b2cb1db967a646b150332.tar.xz
glibc-d19d25dd063af97ff04b2cb1db967a646b150332.zip
x86_64: Use builtin sqrt{f,l}
Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps/x86_64/fpu/math-use-builtins-sqrt.h')
-rw-r--r--sysdeps/x86_64/fpu/math-use-builtins-sqrt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/math-use-builtins-sqrt.h b/sysdeps/x86_64/fpu/math-use-builtins-sqrt.h
new file mode 100644
index 0000000000..e94c915ba6
--- /dev/null
+++ b/sysdeps/x86_64/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