From a1981ecbfd4aec84dea26936d91c8ed9164f8b13 Mon Sep 17 00:00:00 2001 From: Xiaolin Tang Date: Wed, 23 Nov 2022 11:44:58 +0800 Subject: Use GCC builtins for llrint functions if desired. This patch is using the corresponding GCC builtin for llrintf, llrint, llrintl and llrintf128 if the USE_FUNCTION_BUILTIN macros are defined to one in math-use-builtins-function.h. Co-Authored-By: Xi Ruoyao --- sysdeps/generic/math-use-builtins-llrint.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sysdeps/generic/math-use-builtins-llrint.h (limited to 'sysdeps/generic/math-use-builtins-llrint.h') diff --git a/sysdeps/generic/math-use-builtins-llrint.h b/sysdeps/generic/math-use-builtins-llrint.h new file mode 100644 index 0000000000..ced6a327a1 --- /dev/null +++ b/sysdeps/generic/math-use-builtins-llrint.h @@ -0,0 +1,4 @@ +#define USE_LLRINT_BUILTIN 0 +#define USE_LLRINTF_BUILTIN 0 +#define USE_LLRINTL_BUILTIN 0 +#define USE_LLRINTF128_BUILTIN 0 -- cgit 1.4.1