commit 4bfb4d1675d59e47359e9aaa68cc0b661993b31f
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Tue Mar 19 18:48:09 2013 +0100

    - rel 4; fix fpu performance hit

 glibc-git.patch | 21 +++++++++++++++++++++
 glibc.spec      |  6 +++---
 2 files changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 8b19ccb..cdadb6d 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -35,7 +35,7 @@ Summary(tr.UTF-8):    GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       %{core_version}
-Release:       3
+Release:       4
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
@@ -64,7 +64,7 @@ Patch9:               %{name}-java-libc-wait.patch
 Patch10:       %{name}-info.patch
 Patch11:       %{name}-autoconf.patch
 Patch12:       %{name}-format.patch
-
+Patch13:       %{name}-git.patch
 Patch14:       %{name}-sparc-errno_fix.patch
 Patch15:       %{name}-new-charsets.patch
 Patch16:       %{name}-tzfile-noassert.patch
@@ -946,7 +946,7 @@ exit 1
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
-
+%patch13 -p1
 %patch14 -p0
 %patch15 -p1
 %patch16 -p1
diff --git a/glibc-git.patch b/glibc-git.patch
new file mode 100644
index 0000000..ab801b0
--- /dev/null
+++ b/glibc-git.patch
@@ -0,0 +1,21 @@
+commit 0b57daebab36f59af1d2a02616ee636a7b13ba12
+Author: Siddhesh Poyarekar <[email protected]>
+Date:   Fri Jan 18 14:16:25 2013 +0530
+
+    Fix application of the exception mask
+    
+    Fixes BZ #14496.
+
+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.  */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/4bfb4d1675d59e47359e9aaa68cc0b661993b31f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to