[FFmpeg-devel] Inline ASM vs. Intrinsics

Michael Niedermayer michaelni
Fri May 11 19:17:40 CEST 2007


On Fri, May 11, 2007 at 10:22:32AM -0400, Dave Dodge wrote:
> On Fri, May 11, 2007 at 02:06:11PM +0200, Guillaume POIRIER wrote:
> > Exactly. I wrongfully assumed that "register" keywork was honnored
> > with xmm/mm intrinsics, but I was wrong. It's simply ignored by ICC. I
> > don't know about GCC.
> According to its documentation gcc also ignores the "register" storage
> class specifier, except in a few special cases:
>   - when using asm in a declaration to explicitly specify which register.
>   - when using -O0.
>   - when using setjmp on certain rare target platforms.
> Aside: on IA64 icc supports only intrinsics -- no inline assembly.  On
> the one hand IA64 assembly is so painful that you'd rarely want to
> write it manually anyway; but the downside is that the intrinsics

IA64 is a complete failure with and without intrinsics


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- 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/67d2e5b2/attachment.pgp>

More information about the ffmpeg-devel mailing list