Skip to content
Commit 6e6e51a1 authored by Shen-Ta Hsieh's avatar Shen-Ta Hsieh Committed by Sunil K Pandey
Browse files

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: default avatarShen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit eb906620)
parent b85d5b3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment