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.17-145-g0b57dae


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  0b57daebab36f59af1d2a02616ee636a7b13ba12 (commit)
      from  caa99d06e7f1403887294442af520b0f8c6f3de0 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0b57daebab36f59af1d2a02616ee636a7b13ba12

commit 0b57daebab36f59af1d2a02616ee636a7b13ba12
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Fri Jan 18 14:16:25 2013 +0530

    Fix application of the exception mask
    
    Fixes BZ #14496.

diff --git a/ChangeLog b/ChangeLog
index 52a9542..647ce1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	[BZ #14496]
+	* sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
+	Fix application of SIMD FP exception mask.
+
 	* sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
 	mp_no from a power of two.
 	* sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
diff --git a/sysdeps/i386/fpu/fenv_private.h b/sysdeps/i386/fpu/fenv_private.h
index 03f4c97..1f8336c 100644
--- a/sysdeps/i386/fpu/fenv_private.h
+++ b/sysdeps/i386/fpu/fenv_private.h
@@ -176,7 +176,7 @@ libc_feupdateenv_test_sse (fenv_t *e, int ex)
 
   /* Raise SIGFPE for any new exceptions since the hold.  Expect that
      the normal environment has all exceptions masked.  */
-  if (__builtin_expect ((old_mxcsr >> 7) & cur_ex, 0))
+  if (__glibc_unlikely (~(old_mxcsr >> 7) & cur_ex))
     __feraiseexcept (cur_ex);
 
   /* Test for exceptions raised since the hold.  */

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

Summary of changes:
 ChangeLog                       |    4 ++++
 sysdeps/i386/fpu/fenv_private.h |    2 +-
 2 files changed, 5 insertions(+), 1 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]