aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-01 10:39:57 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-03-26 08:49:47 -0300
commit4997e8f31e7415652c3dedec672c0e9bf8caa9ca (patch)
treec0378709ad1fad1ceed06e6dc976be813319d44b /ChangeLog
parent019638910ea1e66c374c8efda0dcb2511f26ae59 (diff)
downloadglibc-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 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 82e03e8d05..bd76c1e28d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-02-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * 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.
+
2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.