Re[2]: [XviD-devel] inlined SAD

Christoph Lampert xvid-devel@xvid.org
Tue, 3 Sep 2002 16:57:17 +0200 (CEST)


On Wed, 4 Sep 2002, Radoslaw Czyz wrote:

> > yes, I have inlined versions of all assembler functions (VC++ inlined), but
> > not the latest versions. However it doesn't make a difference for sad
> > because there weren't important changes for months...
> 
> Hi. Thanks for that. I just have a question. Can I do the following:
> 
> #ifdef WIN32
> // inlined assembler version
> #else
> // use nasm assembler
> #endif

I guess you could. But I would it should be not in real XVID code, 
and for testing it would be sufficient to simply use inlined version,
test speed and forget about it again... _If_ there really is a speedup,
we have to come up with something else, anyway. 

gruel