diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-01 10:39:57 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-03-26 08:49:47 -0300 |
commit | 4997e8f31e7415652c3dedec672c0e9bf8caa9ca (patch) | |
tree | c0378709ad1fad1ceed06e6dc976be813319d44b /nptl/pthread_mutex_trylock.c | |
parent | 019638910ea1e66c374c8efda0dcb2511f26ae59 (diff) | |
download | glibc-4997e8f31e7415652c3dedec672c0e9bf8caa9ca.tar glibc-4997e8f31e7415652c3dedec672c0e9bf8caa9ca.tar.gz glibc-4997e8f31e7415652c3dedec672c0e9bf8caa9ca.tar.bz2 glibc-4997e8f31e7415652c3dedec672c0e9bf8caa9ca.zip |
math: Enable some math builtins for clang
This patch enable the builtin usage for clang for the C99 functions
fpclassify, isfinite, isnormal, isnan, isinf, and sigbit. This allows
clang optimize the calls on frontend instead of call the appropriate
glibc symbols.
Checked on aarch64-linux-gnu and x86_64-linux-gnu. I checked the supported
version for each builtin based on released version from clang/llvm.
* math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
clang 2.8.
(signbit): Use builtin for clang 3.3.
(isinf): Use builtin for clang 3.7.
Diffstat (limited to 'nptl/pthread_mutex_trylock.c')
0 files changed, 0 insertions, 0 deletions