da5dc5f1ca
Add debug option.
24 lines
914 B
Text
24 lines
914 B
Text
$NetBSD: patch-ab,v 1.4 2008/07/30 09:53:36 wiz Exp $
|
|
|
|
--- liboil/sse/composite_sse_2pix.c.orig 2008-05-12 23:47:18.000000000 +0000
|
|
+++ liboil/sse/composite_sse_2pix.c
|
|
@@ -141,6 +141,11 @@ over_argb_sse2(__m128i dest, __m128i src
|
|
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)
|
|
+ */
|
|
+#if !(defined(__i386__) && __GNUC__ && (__GNUC__ < 4))
|
|
SSE_FUNCTION static void
|
|
composite_in_argb_sse_2pix (uint32_t *dest, const uint32_t *src,
|
|
const uint8_t *mask, int n)
|
|
@@ -396,6 +401,7 @@ composite_in_over_argb_const_mask_sse_2p
|
|
}
|
|
OIL_DEFINE_IMPL_FULL_WRAPPER(composite_in_over_argb_const_mask_sse_2pix,
|
|
composite_in_over_argb_const_mask, OIL_IMPL_FLAG_SSE2);
|
|
+#endif /* i386 gcc<4 */
|
|
|
|
SSE_FUNCTION static void
|
|
composite_over_u8_sse_2pix (uint8_t *dest, const uint8_t *src, int n)
|