diff options
author | drochner <drochner@pkgsrc.org> | 2007-04-10 16:09:42 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-04-10 16:09:42 +0000 |
commit | 4af26c2e7e86c539b70edbb401631583d73cb699 (patch) | |
tree | cdd03dc5720a65093d2cbc63b52302b4acdd8020 /devel/liboil/patches | |
parent | 0e17b5081c177db8b74f2b26bd46a9b16bb5194b (diff) | |
download | pkgsrc-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/patches')
-rw-r--r-- | devel/liboil/patches/patch-aa | 19 | ||||
-rw-r--r-- | devel/liboil/patches/patch-ab | 26 | ||||
-rw-r--r-- | devel/liboil/patches/patch-ac | 26 |
3 files changed, 0 insertions, 71 deletions
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) |