pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/liboil update to 0.3.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f0ec604bc59
branches:  trunk
changeset: 527553:3f0ec604bc59
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Apr 10 16:09:42 2007 +0000

description:
update to 0.3.11
changes:
- Finally integrated the SSE stack realignment wrappers and reenabled
  the SSE intrinsics code.
- Migrated some new classes from Schroedinger for adding/subtracting
  s16 and u8 values.
- Improved CPU detection on Solaris
- Remove XScale timestamping function, since it's not available from
  user space
- Export oil_debug_print(), so the OIL_DEBUG() macros can be used
  outside the library.
- Various new implementations.

diffstat:

 devel/liboil/Makefile         |   4 ++--
 devel/liboil/distinfo         |  11 ++++-------
 devel/liboil/patches/patch-aa |  19 -------------------
 devel/liboil/patches/patch-ab |  26 --------------------------
 devel/liboil/patches/patch-ac |  26 --------------------------
 5 files changed, 6 insertions(+), 80 deletions(-)

diffs (112 lines):

diff -r 7cf8fd2423e0 -r 3f0ec604bc59 devel/liboil/Makefile
--- a/devel/liboil/Makefile     Tue Apr 10 15:58:34 2007 +0000
+++ b/devel/liboil/Makefile     Tue Apr 10 16:09:42 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2006/11/24 13:02:48 drochner Exp $
+# $NetBSD: Makefile,v 1.11 2007/04/10 16:09:42 drochner Exp $
 #
 
-DISTNAME=      liboil-0.3.10
+DISTNAME=      liboil-0.3.11
 CATEGORIES=    devel
 MASTER_SITES=  http://liboil.freedesktop.org/download/
 
diff -r 7cf8fd2423e0 -r 3f0ec604bc59 devel/liboil/distinfo
--- a/devel/liboil/distinfo     Tue Apr 10 15:58:34 2007 +0000
+++ b/devel/liboil/distinfo     Tue Apr 10 16:09:42 2007 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/11/24 13:02:48 drochner Exp $
+$NetBSD: distinfo,v 1.5 2007/04/10 16:09:42 drochner Exp $
 
-SHA1 (liboil-0.3.10.tar.gz) = 00183731d417047a3b7715532b9d6ca5cce16cc4
-RMD160 (liboil-0.3.10.tar.gz) = 585413d5955b08b24cec18f588927ac071a44098
-Size (liboil-0.3.10.tar.gz) = 860303 bytes
-SHA1 (patch-aa) = 70646b7f1b42341527ba0630cdd99f96751e6a43
-SHA1 (patch-ab) = 7fc1f032bad9384fb9e0aa9e88d75c8eb5bb35c5
-SHA1 (patch-ac) = 809d577cabdc575891aa33ab13f4c1a508520088
+SHA1 (liboil-0.3.11.tar.gz) = 1c1a9952d81c1c89f73e5ed16e4665d2d7d59f7f
+RMD160 (liboil-0.3.11.tar.gz) = 4edf5dad57fa920f44ba10ca4d8e406abce30971
+Size (liboil-0.3.11.tar.gz) = 881159 bytes
diff -r 7cf8fd2423e0 -r 3f0ec604bc59 devel/liboil/patches/patch-aa
--- a/devel/liboil/patches/patch-aa     Tue Apr 10 15:58:34 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2006/11/24 13:02:49 drochner Exp $
-
---- liboil/liboilcpu.c.orig    2006-11-06 02:37:03.000000000 +0100
-+++ liboil/liboilcpu.c
-@@ -518,6 +518,14 @@ oil_cpu_detect_cpuid (void)
-     OIL_INFO("L2 cache: %d kbytes, %d assoc, %d lines/tag, %d line size",
-         (ecx>>16)&0xffff, (ecx>>12)&0xf, (ecx>>8)&0xf, ecx&0xff);
-   }
-+
-+#ifdef __i386__
-+  /*
-+   * gcc (4.1) doesn't get the alignment of automatic __m128i variables
-+   * right, leading to GPFs depending on stack alignment on function call.
-+   */
-+  oil_cpu_flags &= ~(OIL_IMPL_FLAG_SSE2 | OIL_IMPL_FLAG_SSE3);
-+#endif
- }
- 
- /* Reduce the set of CPU capabilities detected by whatever detection mechanism
diff -r 7cf8fd2423e0 -r 3f0ec604bc59 devel/liboil/patches/patch-ab
--- a/devel/liboil/patches/patch-ab     Tue Apr 10 15:58:34 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/10/23 18:39:24 drochner Exp $
-
---- ./liboil/sse/composite_sse_2pix.c.orig     2005-12-21 02:27:54.000000000 +0100
-+++ ./liboil/sse/composite_sse_2pix.c
-@@ -136,6 +136,13 @@ static __m128i over_argb_sse2(__m128i de
-   return _mm_adds_epu8(src, muldiv_255_sse2(dest, negate_argb_sse2(srca)));
- }
- 
-+/*
-+ * These functions trigger an ICE with gcc-3.3.3 on i386.
-+ * (see NetBSD PR pkg/34886)
-+ * Since SSE2 is broken anyway on i386, just disable it.
-+ * (amd64 is OK)
-+ */
-+#ifndef __i386__
- static void
- composite_in_argb_sse_2pix (uint32_t *dest, const uint32_t *src,
-     const uint8_t *mask, int n)
-@@ -389,6 +396,7 @@ composite_in_over_argb_const_mask_sse_2p
- }
- OIL_DEFINE_IMPL_FULL (composite_in_over_argb_const_mask_sse_2pix,
-     composite_in_over_argb_const_mask, OIL_IMPL_FLAG_SSE2);
-+#endif
- 
- static void
- composite_over_u8_sse_2pix (uint8_t *dest, const uint8_t *src, int n)
diff -r 7cf8fd2423e0 -r 3f0ec604bc59 devel/liboil/patches/patch-ac
--- a/devel/liboil/patches/patch-ac     Tue Apr 10 15:58:34 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2006/10/23 18:39:24 drochner Exp $
-
---- ./liboil/sse/composite_sse_4pix.c.orig     2006-10-23 20:03:45.000000000 +0200
-+++ ./liboil/sse/composite_sse_4pix.c
-@@ -270,6 +270,13 @@ composite_in_argb_const_mask_sse (uint32
- OIL_DEFINE_IMPL_FULL (composite_in_argb_const_mask_sse,
-     composite_in_argb_const_mask, OIL_IMPL_FLAG_SSE2);
- 
-+/*
-+ * These functions trigger an ICE with gcc-3.3.3 on i386.
-+ * (see NetBSD PR pkg/34886)
-+ * Since SSE2 is broken anyway on i386, just disable it.
-+ * (amd64 is OK)
-+ */
-+#ifndef __i386__
- static void
- composite_over_argb_sse (uint32_t *dest, const uint32_t *src, int n)
- {
-@@ -504,6 +511,7 @@ composite_in_over_argb_const_mask_sse (u
- }
- OIL_DEFINE_IMPL_FULL (composite_in_over_argb_const_mask_sse,
-     composite_in_over_argb_const_mask, OIL_IMPL_FLAG_SSE2);
-+#endif
- 
- static void
- composite_over_u8_sse (uint8_t *dest, const uint8_t *src, int n)



Home | Main Index | Thread Index | Old Index