PPC: simplify loading some values into altivec registers
authorMåns Rullgård <mans@mansr.com>
Mon, 24 Aug 2009 10:36:13 +0000 (10:36 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 24 Aug 2009 10:36:13 +0000 (10:36 +0000)
commitb662e8395b81ee58e8e9b293904314f8918c8fae
tree9ba997466ee49928c14812e6e3d6bf2f8570d11d
parent1feec476aa1afa25cdeaef358821f70d7648820f
PPC: simplify loading some values into altivec registers

Instead of filling a local array with the desired value and loading it,
load a single element and vec_splat() it to fill the vector.

Originally committed as revision 19691 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ppc/gmc_altivec.c
libavcodec/ppc/mpegvideo_altivec.c