[Ffmpeg-devel] benchmark of different CABAC routines

Panagiotis Issaris takis.issaris
Tue Oct 10 14:42:50 CEST 2006


Hi,

On Tue, Oct 10, 2006 at 02:27:38PM +0200, Michael Niedermayer wrote:
>[...]
> > > offtopic ... but can someone fix ffmpeg/configure so it sets march/mtune/mcpu ?
> > According to the GCC manual, march implies mtune, and mcpu is a (deprecated)
> > synonym for mtune. Here, my "configure --tune=athlon" sets the -march parameter,
> > so that should be enough, no?
> 
> id like some reasonable defaults like if configure is run on a p3 and the
> user didnt explicitly specifies generic then -march should be set to 
> pentium3
> just IMHO of course ...
I see. That would be nice yes.

Now, /bin/arch on my system just shows "i686" for all recent systems. Parsing
/proc/cpuinfo would only work on GNU/Linux systems and cpuid based apps only on
x86. I guess there is no generic way to do this or does anyone know a portable
way? If there's no generic way, what would be better: An OS specific solution or
an architecture specific one?

With friendly regards,
Takis




More information about the ffmpeg-devel mailing list