[cairo] [PATCH] Altivec optimizations
lu_zero at gentoo.org
Wed Mar 7 08:09:29 PST 2007
> On 07/03/07, Baz <brian.ewins at gmail.com> wrote:
> Actually, if I can dig out the disks, I'll set that box up as
> gentoo/10.3.9 dual boot. I only use the laptop for testing these
> days. Reading the patch:
> +#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 &&
> __GNUC_MINOR__ < 4))
> +#error "Need GCC >= 3.4 for sane altivec support"
> This jumps out at me because Mozilla use gcc 3.3 for Mac PPC builds,
> but only because they want to support releases earlier than 10.3.9. So
> this is going to mean no altivec in firefox on older macs. What goes
> wrong with 3.3?
it has some glitches that could require some workarounds I could add but
I'd rather avoid...
> Also, anyone else trying this out - cairo 1.4 has been crashing
> Xquartz fairly regularly in the extend-reflect test, in
> fbCompositeSrc_8888x8888. Behdad's seen similar (but rarer) crashes in
> fbCompositeSrc_8888x8888mmx in the same test, so a crash there in
> fbCompositeSrc_8888x8888vmx may not be a problem with the patch. Code
> seems to work reliably when EXTEND_REFLECT is changed to EXTEND_REPEAT
> in that test.
disabling mmx/vmx shows the same issue?
Could you please send some benchmark results?
More information about the cairo