[XviD-devel] sse2

peter ross xvid-devel@xvid.org
Fri, 26 Jul 2002 10:31:05 +1000



>From: "daniel smith" <danielsmith@astroboymail.com>
>Reply-To: xvid-devel@xvid.org
>To: xvid-devel@xvid.org
>Subject: Re: [XviD-devel] sse2
>Date: Fri, 26 Jul 2002 03:00:54 +0800
>
> > all code was written by Dmitry Rozhdestvensky dmitry@servertd.spb.ru
> > except the quant sse and cpb sse functions that
> > were written by daniel. Dmitry rewrote the sse2 sad code because he
> > told me that dan's code assumed correct alignment
> > and that this won't work in reality. I have no p4 box, so I have to
> > trust him...
>
>i'd have to check the code again, however from memory it only assumed 
>alignment for the pointer which is from the current "fixed" block, i.e. 
>always at a 16x16 position.  it assumed unalignment for the "floating" 
>block, i.e. which could be at any (x,y) position from the reference frame.  
>i never got a privileged instruction crash out of it after several hours 
>testing.. perhaps pete can verify?

no crashing here. yep its safe to assume that the original/current/fixed 
block given to sad16 & dev16 is 16-byte aligned.

-- pete

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com