Jakub, PPC970 and POWER6 support Altivec and that feature is enabled for those processor by default. Now with inlining, auto-vectorization, and copying via Altivec registers, GCC needs to save and restore the registers correctly for overlapped use enabled implicitly. PPC64 Linux enables the Altivec ABI by default, but PPC32 Linux does not.
Currently, GCC for 32-bit powerpc-linux can generate Altivec code that produces wrong results. We need to enable Altivec ABI for powerpc-linux so that Altivec code works correctly and as expected. Thanks, David