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.21-596-g82641e1
- From: wilco at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Jul 2015 11:51:27 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-596-g82641e1
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 82641e16aa83c693974297951e23ba08a3e89652 (commit)
from c435989f52204703d524f467c830dc363439e532 (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=82641e16aa83c693974297951e23ba08a3e89652
commit 82641e16aa83c693974297951e23ba08a3e89652
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date: Mon Jul 13 12:48:33 2015 +0100
Add AArch64 versions of math_opt_barrier and math_force_eval that avoid going via memory.
diff --git a/ChangeLog b/ChangeLog
index df8c19e..dfef5e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-01 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/aarch64/fpu/math_private.h
+ (define math_opt_barrier): Add AArch64 version.
+ (math_force_eval): Likewise.
+
2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
* sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
diff --git a/sysdeps/aarch64/fpu/math_private.h b/sysdeps/aarch64/fpu/math_private.h
index b3c2509..1f02ddb 100644
--- a/sysdeps/aarch64/fpu/math_private.h
+++ b/sysdeps/aarch64/fpu/math_private.h
@@ -22,6 +22,11 @@
#include <fenv.h>
#include <fpu_control.h>
+#define math_opt_barrier(x) \
+({ __typeof (x) __x = (x); __asm ("" : "+w" (__x)); __x; })
+#define math_force_eval(x) \
+({ __typeof (x) __x = (x); __asm __volatile__ ("" : : "w" (__x)); })
+
extern __always_inline double
__ieee754_sqrt (double d)
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
sysdeps/aarch64/fpu/math_private.h | 5 +++++
2 files changed, 11 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources