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-120-g6a9ad2f
- From: wilco at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Oct 2014 13:27:28 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-120-g6a9ad2f
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 6a9ad2faee48c5a9befd5ad6af79df37e4ea5436 (commit)
via 1c8810ed95b3ef09c5a8a2bd03f26e3452974c06 (commit)
via 8b1af712d1556573cd7c71d872eab808faf854fb (commit)
from a7b00c110132b4cb64a7f6b7b23a1c0ebbe54cd3 (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=6a9ad2faee48c5a9befd5ad6af79df37e4ea5436
commit 6a9ad2faee48c5a9befd5ad6af79df37e4ea5436
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date: Fri Oct 24 13:23:12 2014 +0000
Call libc_fetestexcept_aarch64 from math_private.h rather than duplicating functionality.
diff --git a/ChangeLog b/ChangeLog
index d8462ac..98548cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
+ * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
+ Call libc_fetestexcept_aarch64.
+
+2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
+
* sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
Call libc_feholdexcept_aarch64.
diff --git a/sysdeps/aarch64/fpu/fgetexcptflg.c b/sysdeps/aarch64/fpu/fgetexcptflg.c
index d25da1c..ee19d6e 100644
--- a/sysdeps/aarch64/fpu/fgetexcptflg.c
+++ b/sysdeps/aarch64/fpu/fgetexcptflg.c
@@ -17,17 +17,11 @@
<http://www.gnu.org/licenses/>. */
#include <fenv.h>
-#include <fpu_control.h>
+#include <math_private.h>
int
fegetexceptflag (fexcept_t *flagp, int excepts)
{
- fpu_fpsr_t fpsr;
-
- /* Get the current exceptions. */
- _FPU_GETFPSR (fpsr);
-
- *flagp = fpsr & excepts & FE_ALL_EXCEPT;
-
+ *flagp = libc_fetestexcept_aarch64 (excepts);
return 0;
}
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1c8810ed95b3ef09c5a8a2bd03f26e3452974c06
commit 1c8810ed95b3ef09c5a8a2bd03f26e3452974c06
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date: Fri Oct 24 13:21:27 2014 +0000
Call libc_feholdexcept_aarch64 from math_private.h rather than duplicating functionality.
diff --git a/ChangeLog b/ChangeLog
index 66447bf..d8462ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
+ * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
+ Call libc_feholdexcept_aarch64.
+
+2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
+
* sysdeps/aarch64/fpu/fegetround.c (fegetround):
Call get_rounding_mode.
diff --git a/sysdeps/aarch64/fpu/feholdexcpt.c b/sysdeps/aarch64/fpu/feholdexcpt.c
index 5f67a7c..3d0349f 100644
--- a/sysdeps/aarch64/fpu/feholdexcpt.c
+++ b/sysdeps/aarch64/fpu/feholdexcpt.c
@@ -17,34 +17,12 @@
<http://www.gnu.org/licenses/>. */
#include <fenv.h>
-#include <fpu_control.h>
+#include <math_private.h>
int
feholdexcept (fenv_t *envp)
{
- fpu_control_t fpcr;
- fpu_control_t fpcr_new;
- fpu_fpsr_t fpsr;
- fpu_fpsr_t fpsr_new;
-
- _FPU_GETCW (fpcr);
- envp->__fpcr = fpcr;
-
- _FPU_GETFPSR (fpsr);
- envp->__fpsr = fpsr;
-
- /* Now set all exceptions to non-stop. */
- fpcr_new = fpcr & ~(FE_ALL_EXCEPT << FE_EXCEPT_SHIFT);
-
- /* And clear all exception flags. */
- fpsr_new = fpsr & ~FE_ALL_EXCEPT;
-
- if (fpsr != fpsr_new)
- _FPU_SETFPSR (fpsr_new);
-
- if (fpcr != fpcr_new)
- _FPU_SETCW (fpcr_new);
-
+ libc_feholdexcept_aarch64 (envp);
return 0;
}
libm_hidden_def (feholdexcept)
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8b1af712d1556573cd7c71d872eab808faf854fb
commit 8b1af712d1556573cd7c71d872eab808faf854fb
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date: Fri Oct 24 13:19:24 2014 +0000
Call get_rounding_mode rather than duplicating functionality.
diff --git a/ChangeLog b/ChangeLog
index 2302d7e..66447bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
+ * sysdeps/aarch64/fpu/fegetround.c (fegetround):
+ Call get_rounding_mode.
+
+2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
+
* sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
Simplify logic.
diff --git a/sysdeps/aarch64/fpu/fegetround.c b/sysdeps/aarch64/fpu/fegetround.c
index a970ce3..5428d4d 100644
--- a/sysdeps/aarch64/fpu/fegetround.c
+++ b/sysdeps/aarch64/fpu/fegetround.c
@@ -17,13 +17,11 @@
<http://www.gnu.org/licenses/>. */
#include <fenv.h>
-#include <fpu_control.h>
+#include <get-rounding-mode.h>
int
fegetround (void)
{
- fpu_control_t fpcr;
- _FPU_GETCW (fpcr);
- return fpcr & FE_TOWARDZERO;
+ return get_rounding_mode ();
}
libm_hidden_def (fegetround)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 15 +++++++++++++++
sysdeps/aarch64/fpu/fegetround.c | 6 ++----
sysdeps/aarch64/fpu/feholdexcpt.c | 26 ++------------------------
sysdeps/aarch64/fpu/fgetexcptflg.c | 10 ++--------
4 files changed, 21 insertions(+), 36 deletions(-)
hooks/post-receive
--
GNU C Library master sources