mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Use GCC builtins for rint functions if desired.
This patch is using the corresponding GCC builtin for rintf, rint, rintl and rintf128 if the USE_FUNCTION_BUILTIN macros are defined to one in math-use-builtins.h. This is the case for s390 if build with at least --march=z196 --mzarch. Otherwise the generic implementation is used. The code of the generic implementation is not changed. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -26,4 +26,9 @@
|
||||
#define USE_NEARBYINTL_BUILTIN 0
|
||||
#define USE_NEARBYINTF128_BUILTIN 0
|
||||
|
||||
#define USE_RINT_BUILTIN 0
|
||||
#define USE_RINTF_BUILTIN 0
|
||||
#define USE_RINTL_BUILTIN 0
|
||||
#define USE_RINTF128_BUILTIN 0
|
||||
|
||||
#endif /* math-use-builtins.h */
|
||||
|
Reference in New Issue
Block a user