Hello community,

here is the log from the commit of package liboil for openSUSE:Factory checked 
in at 2012-10-10 09:19:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liboil (Old)
 and      /work/SRC/openSUSE:Factory/.liboil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liboil", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/liboil/liboil.changes    2012-06-06 
16:07:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.liboil.new/liboil.changes       2012-10-10 
09:22:47.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Oct  8 12:15:39 UTC 2012 - [email protected]
+
+- Add ppc-asm.patch: fix missing clobbers in ppc asm
+
+-------------------------------------------------------------------

New:
----
  ppc-asm.patch

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

Other differences:
------------------
++++++ liboil.spec ++++++
--- /var/tmp/diff_new_pack.XhNjA0/_old  2012-10-10 09:22:54.000000000 +0200
+++ /var/tmp/diff_new_pack.XhNjA0/_new  2012-10-10 09:22:54.000000000 +0200
@@ -29,6 +29,7 @@
 Summary:        Library of Optimized Inner Loops
 Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
+Patch:          ppc-asm.patch
 # bug437293
 %ifarch ppc64
 Obsoletes:      liboil-64bit
@@ -116,6 +117,7 @@
 
 %prep
 %setup -q
+%patch
 
 %build
 %configure --disable-static --with-pic

++++++ ppc-asm.patch ++++++
--- liboil/powerpc/copy.c
+++ liboil/powerpc/copy.c
@@ -61,7 +61,8 @@ copy_u8_altivec (uint8_t *dest, uint8_t
           "  add %1, %1, r11\n"
           "  addi %1, %1, -16\n"
         : "+b" (dest), "+b" (src)
-        : "r" (n/16));
+        : "r" (n/16)
+        : "r11", "memory");
     } else {
       asm volatile (
           "  mtctr %2\n"
@@ -74,7 +75,8 @@ copy_u8_altivec (uint8_t *dest, uint8_t
           "  add %0, %0, r11\n"
           "  add %1, %1, r11\n"
         : "+b" (dest), "+b" (src)
-        : "r" (n/16));
+        : "r" (n/16)
+        : "r11", "memory");
     }
   }
 
@@ -131,7 +133,8 @@ copy_u8_altivec2 (uint8_t *dest, uint8_t
         "  add %1, %1, r11\n"
         "  addi %1, %1, -16\n"
       : "+b" (dest), "+b" (src)
-      : "r" (n/64));
+      : "r" (n/64)
+      : "r11", "memory");
   }
 
   n &= 0x3f;
--- liboil/powerpc/resample.c
+++ liboil/powerpc/resample.c
@@ -86,7 +86,8 @@ merge_linear_argb_powerpc (uint32_t *des
           "  vpkuhus v0, v0, v0\n"
           "  stvx v0, 0, %0\n"
           :
-          : "b" (atmp));
+          : "b" (atmp)
+          : "r11", "memory");
 
       dest[i] = atmp[0];
       if (i+1<n) dest[i+1] = atmp[1];
--- liboil/powerpc/splat.c
+++ liboil/powerpc/splat.c
@@ -57,7 +57,8 @@ splat_u8_ns_altivec (uint8_t *dest, uint
           "  bdnz+ 1b\n"
           "  add %0, %0, r11\n"
         : "+b" (dest), "+b" (src)
-        : "r" (n/16));
+        : "r" (n/16)
+        : "r11", "memory");
   }
 
   n &= 0xf;
@@ -96,7 +97,8 @@ splat_u8_ns_altivec2 (uint8_t *dest, uin
           "  bdnz+ 1b\n"
           "  add %0, %0, r11\n"
         : "+b" (dest), "+b" (src)
-        : "r" (n/64));
+        : "r" (n/64)
+        : "r11", "memory");
   }
 
   n &= 0x3f;
@@ -131,7 +133,8 @@ splat_u32_ns_altivec (uint32_t *dest, ui
           "  bdnz+ 1b\n"
           "  add %0, %0, r11\n"
         : "+b" (dest), "+b" (src)
-        : "r" (n/4));
+        : "r" (n/4)
+        : "r11", "memory");
   }
 
   n &= 0x3;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to