From cbf3571f49134388bc589b74445b5d6bdd21ef02 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 5 Jun 2020 15:08:44 +0000 Subject: arm: Use sqrt{f} builtin Checked on arm-linux-gnueabi and armv7-linux-gnueabihf --- sysdeps/arm/math-use-builtins-sqrt.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sysdeps/arm/math-use-builtins-sqrt.h (limited to 'sysdeps/arm/math-use-builtins-sqrt.h') 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 -- cgit v1.2.1