[FFmpeg-devel] Inline ASM vs. Intrinsics

Michael Niedermayer michaelni
Fri May 11 11:59:33 CEST 2007


On Fri, May 11, 2007 at 07:23:52AM +0200, Luca Barbato wrote:
> Rich Felker wrote:
> > Extending the C language with machine-specific intrinsics is a
> > disgusting and misguided practice in principle as well. C is for
> > writing the code that's portable between machines, ASM is for writing
> > machine-specific optimizations. There's no excuse for polluting C with
> > machine-specific stuff.
> Luckily I and the other ppc developers used the altivec intrinsics and
> now we can quickly convert our vector code to SPU without rewriting
> everything from scratch...

just curious, how would asm make that more difficult?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070511/994f7bee/attachment.pgp>

More information about the ffmpeg-devel mailing list