summaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-04-10 16:09:42 +0000
committerdrochner <drochner@pkgsrc.org>2007-04-10 16:09:42 +0000
commit4af26c2e7e86c539b70edbb401631583d73cb699 (patch)
treecdd03dc5720a65093d2cbc63b52302b4acdd8020 /devel/liboil
parent0e17b5081c177db8b74f2b26bd46a9b16bb5194b (diff)
downloadpkgsrc-4af26c2e7e86c539b70edbb401631583d73cb699.tar.gz
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 (limited to 'devel/liboil')
-rw-r--r--devel/liboil/Makefile4
-rw-r--r--devel/liboil/distinfo11
-rw-r--r--devel/liboil/patches/patch-aa19
-rw-r--r--devel/liboil/patches/patch-ab26
-rw-r--r--devel/liboil/patches/patch-ac26
5 files changed, 6 insertions, 80 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index 9511aa5666a..60dd903d43e 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -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 --git a/devel/liboil/distinfo b/devel/liboil/distinfo
index a24d2d85a1c..a1beda3bcf8 100644
--- a/devel/liboil/distinfo
+++ b/devel/liboil/distinfo
@@ -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 --git a/devel/liboil/patches/patch-aa b/devel/liboil/patches/patch-aa
deleted file mode 100644
index 6c97a842959..00000000000
--- a/devel/liboil/patches/patch-aa
+++ /dev/null
@@ -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 --git a/devel/liboil/patches/patch-ab b/devel/liboil/patches/patch-ab
deleted file mode 100644
index 9830fb9f2d9..00000000000
--- a/devel/liboil/patches/patch-ab
+++ /dev/null
@@ -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 --git a/devel/liboil/patches/patch-ac b/devel/liboil/patches/patch-ac
deleted file mode 100644
index 301932b5b23..00000000000
--- a/devel/liboil/patches/patch-ac
+++ /dev/null
@@ -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)