mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Use GCC builtins for roundeven functions if desired.
This patch is using the corresponding GCC builtin for roundevenf, roundeven and roundevenl if the USE_FUNCTION_BUILTIN macros are defined to one in math-use-builtins.h. These builtin functions is supported since GCC 10. The code of the generic implementation is not changed. Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com> Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
@ -30,6 +30,7 @@
|
||||
#include <math-use-builtins-ceil.h>
|
||||
#include <math-use-builtins-trunc.h>
|
||||
#include <math-use-builtins-round.h>
|
||||
#include <math-use-builtins-roundeven.h>
|
||||
#include <math-use-builtins-copysign.h>
|
||||
#include <math-use-builtins-sqrt.h>
|
||||
#include <math-use-builtins-fma.h>
|
||||
|
Reference in New Issue
Block a user