[XviD-devel] MMX/SSE/SEE2 implementation

suxen_drol xvid-devel@xvid.org
Thu, 12 Dec 2002 22:33:55 +1100


On Thu, 12 Dec 2002 10:24:31 -0000 "James Hauxwell" <james.hauxwell@st.com> wrote:
> You can see that it's very easy to change the unroll amount, whether you
> use prefetch or not, or remove the restricted pointers and go back to
> normal aliasing mode.
> 
> What do people think?

inline assembly is good, but using it forces everybody to use the same
compiler.i cannot stand gas syntax. i find msvc syntax sometime awkward.
tasm (borland) sucks.

nasm is good, i have been using nasm for ~5 years for many different
purposes. the built-in preprocessor is very flexible, and its almost as
portable as netbsd ;-). nasm lacks coff debug support.

if you want to experiment, try benchmarking the encoding using inlined
and nasm'd function. ie. choose a really time critical function, such as sad8x8,
or sad16x16.

-- pete; life is like a box of ammo