[FFmpeg-devel] Question about loop counter
Zuxy Meng
zuxy.meng
Tue May 15 13:51:06 CEST 2007
Hi,
2007/5/15, Reimar Doeffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hello,
> On Tue, May 15, 2007 at 11:00:59AM +0200, Michael Niedermayer wrote:
> > On Tue, May 15, 2007 at 04:31:11PM +0800, Zuxy Meng wrote:
> > > When unrolling loops or do a mmx->sse2 conversion, loop counters need
> > > to be divided by half. E.g. func_c(int n) can accept any n, while
> > > func_mmx(int n) assumes n is even, and func_sse2(int n) requires n to
> > > be a multiple of 4. How to determine whether it's safe?
> >
> > ask here or RTFS
>
> And please, please document such assumptions, even if they weren't
> sometimes in the past!!!
What about adding something like assert?
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the ffmpeg-devel
mailing list