Re: Re: hdot264 - Developer

Char Acter <[email protected]> Wed, 9 Jul 2003 10:34:48 -0700 (PDT)
Newsgroups gmane.comp.video.h264.devel
Message-ID <[email protected]>
> Maybe
> someone knows a decent C + asm compiler which is
> available for different
> platforms?

Last time I looked, the Intel compiler was available
in Windows and Linux versions and will compile
Intel-style inline x86 asm.

Alternatively, you can write a whole load of C macros
for every assembly instruction.  By simply changing a
header file (mmx_intel.h / mmx_gnu.h) you can load the
set of macros that corresponds to your current
compiler.

IMHO, it's best not to use inline asm if you want code
to be portable.  Best to write pure x86 in .asm files
and use the nasm compiler.  Note that it's not
efficient to write very low level, quick asm routines
in this way as you have the overhead of a function
call ... I'm not sure that a function from a nasm .obj
can be inlined by the linker.

HTH

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps