This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.20-115-gea9a7c8


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  ea9a7c8b066accc408402fc00c946db7d8eb9764 (commit)
       via  e226de337216d54c1aa3b90c4b960a72a223eba6 (commit)
       via  6e3d8ed3605e845274e29aa3b62a1dfb7f420353 (commit)
      from  c8bc40386ad9767e1e4de882182b91ae57ca211c (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=ea9a7c8b066accc408402fc00c946db7d8eb9764

commit ea9a7c8b066accc408402fc00c946db7d8eb9764
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Fri Oct 24 13:01:38 2014 +0000

    Cleanup feclearexcept to use the same logic as the ARM version. No functional changes.

diff --git a/ChangeLog b/ChangeLog
index bcf4636..fa7bcf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -117,6 +117,11 @@
 
 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
 
+	* sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
+	Simplify logic.
+
+2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
+
 	* sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
 	Cleanup logic.
 
diff --git a/sysdeps/aarch64/fpu/fclrexcpt.c b/sysdeps/aarch64/fpu/fclrexcpt.c
index b24f0ff..4471373 100644
--- a/sysdeps/aarch64/fpu/fclrexcpt.c
+++ b/sysdeps/aarch64/fpu/fclrexcpt.c
@@ -28,7 +28,7 @@ feclearexcept (int excepts)
   excepts &= FE_ALL_EXCEPT;
 
   _FPU_GETFPSR (fpsr);
-  fpsr_new = (fpsr & ~FE_ALL_EXCEPT) | (fpsr & FE_ALL_EXCEPT & ~excepts);
+  fpsr_new = fpsr & ~excepts;
 
   if (fpsr != fpsr_new)
     _FPU_SETFPSR (fpsr_new);

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e226de337216d54c1aa3b90c4b960a72a223eba6

commit e226de337216d54c1aa3b90c4b960a72a223eba6
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Fri Oct 24 12:59:44 2014 +0000

    Cleanup fesetexceptflag to use the same logic as the ARM version. No functional changes.

diff --git a/ChangeLog b/ChangeLog
index 87fbfd8..bcf4636 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -118,6 +118,11 @@
 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
 
 	* sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
+	Cleanup logic.
+
+2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
+
+	* sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
 	Remove unused include.
 
 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
diff --git a/sysdeps/aarch64/fpu/fsetexcptflg.c b/sysdeps/aarch64/fpu/fsetexcptflg.c
index 316fbd6..77e6cae 100644
--- a/sysdeps/aarch64/fpu/fsetexcptflg.c
+++ b/sysdeps/aarch64/fpu/fsetexcptflg.c
@@ -27,10 +27,11 @@ fesetexceptflag (const fexcept_t *flagp, int excepts)
 
   /* Get the current environment.  */
   _FPU_GETFPSR (fpsr);
+  excepts &= FE_ALL_EXCEPT;
 
   /* Set the desired exception mask.  */
-  fpsr_new = fpsr & ~(excepts & FE_ALL_EXCEPT);
-  fpsr_new |= (*flagp & excepts & FE_ALL_EXCEPT);
+  fpsr_new = fpsr & ~excepts;
+  fpsr_new |= *flagp & excepts;
 
   /* Save state back to the FPU.  */
   if (fpsr != fpsr_new)

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6e3d8ed3605e845274e29aa3b62a1dfb7f420353

commit 6e3d8ed3605e845274e29aa3b62a1dfb7f420353
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Fri Oct 24 12:57:49 2014 +0000

    Remove an unused include.

diff --git a/ChangeLog b/ChangeLog
index 5b86231..87fbfd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -117,6 +117,11 @@
 
 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
 
+	* sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
+	Remove unused include.
+
+2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
+
 	* sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
 	* sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
 	* sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
diff --git a/sysdeps/aarch64/fpu/fsetexcptflg.c b/sysdeps/aarch64/fpu/fsetexcptflg.c
index 60bb1c9..316fbd6 100644
--- a/sysdeps/aarch64/fpu/fsetexcptflg.c
+++ b/sysdeps/aarch64/fpu/fsetexcptflg.c
@@ -17,7 +17,6 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <fenv.h>
-#include <math.h>
 #include <fpu_control.h>
 
 int

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                          |   15 +++++++++++++++
 sysdeps/aarch64/fpu/fclrexcpt.c    |    2 +-
 sysdeps/aarch64/fpu/fsetexcptflg.c |    6 +++---
 3 files changed, 19 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]