Gentoo Archives: gentoo-ppc-dev

From: Bartosch Pixa <darkspecter@g.o>
To: Magnus Damm <damm@××××××××××.se>
Cc: gentoo-ppc-dev@g.o, azarah@g.o
Subject: Re: [gentoo-ppc-dev] mplayer altivec patches
Date: Mon, 12 May 2003 21:32:06
Message-Id: 1052775116.8412.6.camel@chloe
In Reply to: [gentoo-ppc-dev] mplayer altivec patches by Magnus Damm
1 On Mon, 2003-05-12 at 12:51, Magnus Damm wrote:
2 > Here are two patches for mplayer-0.90:
3 >
4 > http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-May/018499.html
5 >
6
7 this is a bad hack imo, as it just disables optimized code, what you are
8 trying to fix is in fact a gcc bug, "mergel" is broken.
9 we are already working on a fix for this.
10
11 here's a temporal fix for everyone who can't wait:
12
13 Snip from altivec.h
14
15 #define vec_any_out(a1, a2) __builtin_altivec_vcmpbfp_p (__CR6_EQ_REV,
16 (a1), (a2)
17 +#include <broken_mergel.h>
18 #endif /* __cplusplus */
19
20 add this to your altivec.h and copy the attatched header to the same
21 location altivec.h is in.
22
23 thx again lu_zero for finding the fix :)
24
25 --
26 Bartosch Pixa
27 Gentoo Linux Developer http://www.gentoo.org

Attachments

File name MIME type
broken_mergel.h text/x-c-header
signature.asc application/pgp-signature