[FFmpeg-devel] Inline ASM vs. Intrinsics

Luca Barbato lu_zero
Fri May 11 20:03:25 CEST 2007


Michael Niedermayer wrote:
> 
> if every altivec instruction has a equivalent SPU instruction then its
> more a matter of search and replace then reread and rewrite
> if not then the altivec instrinsic code wont work on SPU either at least
> not optimally with current gcc

more or less, spu isn't a complete superset of altivec so you may end up
writing little snippets in order to get the same functionality (e.g:
mradds) it could have different timings so gcc could give an hand since
it should know them better than me.

lu - that tries his best do avoid rewriting round wheels

-- 

Luca Barbato

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





More information about the ffmpeg-devel mailing list