diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-09-18 13:24:14 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-09-18 13:24:14 +0000 |
commit | 50bc59ca4dba7f82b74f86abc7bc75848cea6d6e (patch) | |
tree | d961181dca4581397fa252290f70bbf162c2cf56 /sysdeps/unix/sysv | |
parent | 71223ef90946a5089b38cd60eb0eb9e50a8f3e4c (diff) | |
download | glibc-50bc59ca4dba7f82b74f86abc7bc75848cea6d6e.tar.gz glibc-50bc59ca4dba7f82b74f86abc7bc75848cea6d6e.tar.xz glibc-50bc59ca4dba7f82b74f86abc7bc75848cea6d6e.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv')
0 files changed, 0 insertions, 0 deletions