This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-500-g7f1cbdf
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Oct 2017 21:01:53 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-500-g7f1cbdf
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 7f1cbdf8ed6e5266d3d5807329d2d110cf695b79 (commit)
from 39793865ec91775b4bf6e487c3e83b0d79517771 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7f1cbdf8ed6e5266d3d5807329d2d110cf695b79
commit 7f1cbdf8ed6e5266d3d5807329d2d110cf695b79
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Oct 3 21:01:33 2017 +0000
Use libm_alias_float for dbl-64 fmaf.
This patch makes the implementation of fmaf in the dbl-64 directory
use libm_alias float.
Tested for x86_64, and verified with build-many-glibcs.py that
installed stripped shared libraries are unchanged by this patch.
* sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
[!__fmaf] (fmaf): Define using libm_alias_float.
diff --git a/ChangeLog b/ChangeLog
index 22f6f5c..8aff7d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-10-03 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
+ [!__fmaf] (fmaf): Define using libm_alias_float.
+
* sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
(frexp): Define using libm_alias_double.
* sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
diff --git a/sysdeps/ieee754/dbl-64/s_fmaf.c b/sysdeps/ieee754/dbl-64/s_fmaf.c
index e6c0fed..4426c09 100644
--- a/sysdeps/ieee754/dbl-64/s_fmaf.c
+++ b/sysdeps/ieee754/dbl-64/s_fmaf.c
@@ -21,6 +21,7 @@
#include <fenv.h>
#include <ieee754.h>
#include <math_private.h>
+#include <libm-alias-float.h>
/* This implementation relies on double being more than twice as
precise as float and uses rounding to odd in order to avoid problems
@@ -60,5 +61,5 @@ __fmaf (float x, float y, float z)
return (float) u.d;
}
#ifndef __fmaf
-weak_alias (__fmaf, fmaf)
+libm_alias_float (__fma, fma)
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
sysdeps/ieee754/dbl-64/s_fmaf.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources