diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-05 15:08:44 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-06-22 11:09:50 -0300 |
commit | cbf3571f49134388bc589b74445b5d6bdd21ef02 (patch) | |
tree | 879d4ae79cff394eb0b5e0d8926a1151911c0fc8 /sysdeps/arm/math-use-builtins-sqrt.h | |
parent | 9dbb3fdfb788129d20a7d456be94157f31f38800 (diff) | |
download | glibc-cbf3571f49134388bc589b74445b5d6bdd21ef02.tar.gz |
arm: Use sqrt{f} builtin
Checked on arm-linux-gnueabi and armv7-linux-gnueabihf
Diffstat (limited to 'sysdeps/arm/math-use-builtins-sqrt.h')
-rw-r--r-- | sysdeps/arm/math-use-builtins-sqrt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/arm/math-use-builtins-sqrt.h b/sysdeps/arm/math-use-builtins-sqrt.h new file mode 100644 index 0000000000..e765e7c49d --- /dev/null +++ b/sysdeps/arm/math-use-builtins-sqrt.h @@ -0,0 +1,9 @@ +#ifdef __SOFTFP__ +# define USE_SQRT_BUILTIN 0 +# define USE_SQRTF_BUILTIN 0 +#else +# define USE_SQRT_BUILTIN 1 +# define USE_SQRTF_BUILTIN 1 +#endif +#define USE_SQRTL_BUILTIN 0 +#define USE_SQRTF128_BUILTIN 0 |