[Ffmpeg-devel] [PATCH] dead code elimination

Aurelien Jacobs aurel
Tue Feb 27 00:54:57 CET 2007

On Mon, 26 Feb 2007 20:40:28 +0100
Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:

> On Monday, 26 February 2007 at 01:46, M?ns Rullg?rd wrote:
> [...]
> > Not OK.  This should be set for all 64-bit CPUs we currently have
> > special settings for.  These include Alpha, PPC64, and Sparc64.  We
> > don't seem to have any specific checks for MIPS64, a patch to rectify
> > this would of course be welcome.
> sparc64 is unlikely to be faster than sparc32. I can benchmark it if
> you tell me how.

I don't know sparc very well, and indeed it seems that sparc32 is often
faster than sparc64. But here it's not about sparc32 vs. sparc64.
It's about sparc64 using some 32bits optimized code vs. sparc64 using
some 64bits optimized code (ie. the code surrounded by HAVE_FAST_64BIT).

To benchmark it, I used START/STOP_TIMER at begining/end of
idctRowCondDC(), but unfortunatly START/STOP_TIMER is not implemented
for sparc :-(

If you find a good way to benchmark it, I'm interested in the results.
Else I will probably commit this patch as is.


More information about the ffmpeg-devel mailing list