[FFmpeg-devel] [HACK] 50% faster H.264 decoding

Luca Barbato lu_zero
Mon Aug 23 11:59:00 CEST 2010


On 08/23/2010 07:39 AM, Jason Garrett-Glaser wrote:
> How in the world would instrinsics solve that problem?  There is no
> compiler in the world that will magically rewrite your algorithm to
> use completely different instructions on a given architecture.

You described what a compiler generally does...

you use c = a + b; not c = arch_specific_add_inst(a, b);

Generic vector intrinsics do exist (and yes, the do suck right now)

http://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html

lu - That's all for the fun of Ronald that requested it specifically.

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list