[FFmpeg-devel] [PATCH 1/2] PPC: simplify loading some values into altivec registers

Guillaume POIRIER poirierg
Sun Aug 23 22:10:08 CEST 2009


On Sun, Aug 23, 2009 at 1:30 PM, Mans Rullgard<mans at mansr.com> wrote:
> 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.

Seems like a good idea to me, and it reduces the number of code lines,
so I'm OK with it (provided you've tested it ;-)) .

Only a very small fraction of our DNA does anything; the rest is all
comments and ifdefs.

Ogden Nash  - "The trouble with a kitten is that when it grows up,
it's always a cat." -

More information about the ffmpeg-devel mailing list