From 50bc59ca4dba7f82b74f86abc7bc75848cea6d6e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 18 Sep 2018 13:24:14 +0000 Subject: Fix ldbl-128ibm ceill, floorl inlining of ceil, floor. The ldbl-128ibm implementations of ceill and floorl call the corresponding double functions. This patch fixes those implementations to call those functions as ceil and floor rather than as __ceil and __floor, so that the proper inlining takes place when possible, while including local asm redirections for when the functions are not inlined since NO_MATH_REDIRECT applies to the double functions as well as to the long double ones. Tested with build-many-glibcs.py for all its powerpc configurations. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to __ceil. (__ceill): Call ceil instead of __ceil. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to __floor. (__floorl): Call floor instead of __floor. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b2a3a1f686..5f588784cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2018-09-18 Joseph Myers + + * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to + __ceil. + (__ceill): Call ceil instead of __ceil. + * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to + __floor. + (__floorl): Call floor instead of __floor. + 2018-09-17 Joseph Myers * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ && -- cgit v1.2.3