Hello community,

here is the log from the commit of package zlib for openSUSE:Factory
checked in at Mon Jun 6 09:39:02 CEST 2011.



--------
--- zlib/zlib.changes   2011-05-27 11:15:50.000000000 +0200
+++ /mounts/work_src_done/STABLE/zlib/zlib.changes      2011-05-30 
21:39:57.000000000 +0200
@@ -1,0 +2,5 @@
+Mon May 30 19:38:43 UTC 2011 - crrodrig...@opensuse.org
+
+- Fix two bugs that will break ia64 systems only. 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  zlib-1.2.5_git201105121450.tar.bz2

New:
----
  zlib-1.2.5_git201105272030.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zlib.spec ++++++
--- /var/tmp/diff_new_pack.FKwqLe/_old  2011-06-06 09:31:55.000000000 +0200
+++ /var/tmp/diff_new_pack.FKwqLe/_new  2011-06-06 09:31:55.000000000 +0200
@@ -27,8 +27,8 @@
 Obsoletes:      zlib-64bit
 %endif
 #
-Version:        1.2.5_git201105121450
-Release:        13
+Version:        1.2.5_git201105272030
+Release:        1
 Summary:        Data Compression Library
 Url:            http://www.zlib.net/
 # git://github.com/kaffeemonster/zlib_adler32_vec.git

++++++ zlib-1.2.5_git201105121450.tar.bz2 -> zlib-1.2.5_git201105272030.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-1.2.5_git201105121450/ia64/adler32.c 
new/zlib-1.2.5_git201105272030/ia64/adler32.c
--- old/zlib-1.2.5_git201105121450/ia64/adler32.c       2011-05-12 
16:50:18.000000000 +0200
+++ new/zlib-1.2.5_git201105272030/ia64/adler32.c       2011-05-27 
22:30:10.000000000 +0200
@@ -12,7 +12,7 @@
 #include <limits.h>
 #ifdef __GNUC__
 #  define HAVE_ADLER32_VEC
-#  define MIN_WORK 32
+#  define MIN_WORK 64
 
 #  define VNMAX (7*NMAX)
 #  define SOULL (sizeof(unsigned long long))
@@ -222,16 +222,25 @@
                 "(p6) mov      unpck_15 = inner_loop_count\n\t"
                 "(p7) mov      unpck_15 = k;;\n\t"
 
+                "mov   unpck_16 = buf_ptr_1\n\t"
                 "and   unpck_14 = -16, unpck_15\n\t"
-                "and   loop_rem = 63, unpck_15\n\t"
-                "shr.u unpck_13 = unpck_15, 6;;\n\t"
+                "and   loop_rem = 63, unpck_15;;\n\t"
 
-                "cmp4.eq       p7,p6 = 0, unpck_13;;\n\t"
-                "sub   k = k, unpck_14\n\t"
                 "mov   vs2_wsum_hh = r0\n\t"
+                "shr.u unpck_13 = unpck_15, 6\n\t"
+                "add   unpck_16 = unpck_15, unpck_16;;\n\t"
 
-                "nop.m 0\n\t"
-                "nop.i 0\n\t"
+                "cmp4.eq       p7,p6 = 0, unpck_13\n\t"
+                "sub   k = k, unpck_14\n\t"
+                "add   unpck_16 = -33, unpck_16;;\n\t"
+
+                /* prefetch end of buffer for this iterration,
+                 * to make sure OS sees possible page faults so
+                 * OS can swap page in, because speculative
+                 * loads will not.
+                 */
+                "lfetch.fault  [unpck_16]\n\t"
+                "nop.i 1\n\t"
                 "(p7) br.cond.dpnt.few 5f\n\t"
 
                 "ld8   input8_3 = [buf_ptr_3], 32\n\t"
@@ -403,20 +412,20 @@
 
                 "2:\n\t"
                 "add   buf_ptr_1 = -16, buf_ptr_1\n\t"
-                "pmpy2.r       unpck_01 = vs2_wsum_ll, order_hihi\n\t"
-                "pmpy2.l       unpck_02 = vs2_wsum_ll, order_hihi;;\n\t"
+                "pmpy2.r       unpck_01 = vs2_wsum_ll, order_lolo\n\t"
+                "pmpy2.l       unpck_02 = vs2_wsum_ll, order_lolo;;\n\t"
 
                 "add   buf_ptr_2 = -16, buf_ptr_2\n\t"
-                "pmpy2.r       unpck_03 = vs2_wsum_lh, order_hilo\n\t"
-                "pmpy2.l       unpck_04 = vs2_wsum_lh, order_hilo\n\t"
+                "pmpy2.r       unpck_03 = vs2_wsum_lh, order_lohi\n\t"
+                "pmpy2.l       unpck_04 = vs2_wsum_lh, order_lohi\n\t"
 
                 "padd4 unpck_01 = unpck_01, unpck_02\n\t"
-                "pmpy2.r       unpck_05 = vs2_wsum_hl, order_lohi\n\t"
-                "pmpy2.l       unpck_06 = vs2_wsum_hl, order_lohi;;\n\t"
+                "pmpy2.r       unpck_05 = vs2_wsum_hl, order_hilo\n\t"
+                "pmpy2.l       unpck_06 = vs2_wsum_hl, order_hilo;;\n\t"
 
                 "padd4 unpck_03 = unpck_03, unpck_04\n\t"
-                "pmpy2.r       unpck_07 = vs2_wsum_hh, order_lolo\n\t"
-                "pmpy2.l       unpck_08 = vs2_wsum_hh, order_lolo\n\t"
+                "pmpy2.r       unpck_07 = vs2_wsum_hh, order_hihi\n\t"
+                "pmpy2.l       unpck_08 = vs2_wsum_hh, order_hihi\n\t"
 
                 "padd4 unpck_05 = unpck_05, unpck_06;;\n\t"
                 "padd4 unpck_07 = unpck_07, unpck_08\n\t"


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to