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.20-194-g5ae4fe6
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Nov 2014 18:53:30 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-194-g5ae4fe6
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 5ae4fe60e68a6698afadbec00481be96096e3eb4 (commit)
from 6a0dd472f407fd2fedd7bdf744a5d9fa87b124af (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=5ae4fe60e68a6698afadbec00481be96096e3eb4
commit 5ae4fe60e68a6698afadbec00481be96096e3eb4
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Nov 14 18:53:07 2014 +0000
Remove x86_64 __GNUC_PREREQ (4, 6) conditional.
This patch removes a conditional on __GNUC_PREREQ (4, 6) in x86_64
code.
Tested for x86_64 that installed shared libraries are unchanged by
this patch. Committed (I think this file reasonably comes under math
maintainership).
* sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
(DLA_FMS): Make definition conditional only on [__FMA4__].
[__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
definition.
diff --git a/ChangeLog b/ChangeLog
index f84b92e..c8bf783 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-11-14 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
+ (DLA_FMS): Make definition conditional only on [__FMA4__].
+ [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
+ definition.
+
* sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
Make definition conditional only on [PROF].
[PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
diff --git a/sysdeps/x86_64/fpu/dla.h b/sysdeps/x86_64/fpu/dla.h
index fa2d52b..688efa0 100644
--- a/sysdeps/x86_64/fpu/dla.h
+++ b/sysdeps/x86_64/fpu/dla.h
@@ -1,17 +1,8 @@
#include <features.h>
#ifdef __FMA4__
-# if __GNUC_PREREQ (4, 6)
-# define DLA_FMS(x,y,z) \
+# define DLA_FMS(x,y,z) \
__builtin_fma (x, y, -(z))
-# else
-# define DLA_FMS(x,y,z) \
- ({ double __z; \
- asm ("vfmsubsd %3, %2, %1, %0" \
- : "=x" (__z) \
- : "x" ((double) (x)), "xm" ((double) (y)) , "x" ((double) (z))); \
- __z; })
-# endif
#endif
#include "sysdeps/ieee754/dbl-64/dla.h"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/x86_64/fpu/dla.h | 11 +----------
2 files changed, 6 insertions(+), 10 deletions(-)
hooks/post-receive
--
GNU C Library master sources