[XviD-devel] Profilign XVID, Part II

Marco Al marco at simplex.nl
Mon Mar 3 21:53:04 CET 2003


From: "Klaus Post (KPO)" <KPO at zenaria.com>

> Second of all - your proposed prefetch distance (64 bytes) is far too
> little for the prefetch to be any useful. To get any gain from using
> prefetch, use a distance of at least 256 bytes.

Maybe XviD should use a define to determine the number of cycles to prefetch
and just explicitly put the calculation of the prefetch distance in the
code? (ie. "PREFETCHCYCLES / (data-stride / cycles-per-loop)" )

Marco



More information about the XviD-devel mailing list