[MPlayer-dev-eng] altivec patch 1/5: missing vec_splat in vec_clip macro

Luca Barbato lu_zero at gentoo.org
Tue Feb 7 20:57:01 CET 2006


Alan Curry wrote:
> vec_clip() is the only thing that uses AVV() with a single non-zero argument
> and doesn't use vec_splat(). There's a good reason the others all surround it
> in vec_splat(...,0). AVV(235) is {235,0,0,0,...} at least on some compilers.
> 

Maybe you could check if the code produced using splats+hopefully loade
element or using direct load is better or worse.

lu

-- 

Luca Barbato

Gentoo/linux Developer		Gentoo/PPC Operational Leader
http://dev.gentoo.org/~lu_zero




More information about the MPlayer-dev-eng mailing list