[LAD] vectorization

Christian Schoenebeck cuse at users.sourceforge.net
Wed Apr 16 18:37:28 UTC 2008


Am Mittwoch, 16. April 2008 19:25:01 schrieben Sie:
> The distributor in me cried out when I read over this.  I know I am kind
> if nitpicking here, but please consider how much nicer this would be if
> the small benchmark was run at start up time instead of compilation time.
> Its not much more work to compile both algorithms into different object
> files and set up a function pointer at startup.  And it will
> give you best performance even if you move the precompiled binary
> from one machine to the other, or if you change the CPU in your
> computer without reinstalling.

Mmm right, but in that case the upstream author has to do the compilation for 
all kind of architectures ... not even knowing what kind of architectures are 
covered by distribution X. Isn't that the "job" of a distribution maintainer 
to do such compilation task? ;-)

> Besides, a binary distribution has no chance of knowing the exact
> hardware in use on the users side.  The configure test will only benchmark
> the build host, which is not really useful.

Yeah I know, that's why the benchmarks can be circumvented by configure script 
parameters for cross compilation. Somebody has to compile and somebody has to 
run the benchmarks ... whoever that will be ... :-)

CU
Christian



More information about the Linux-audio-dev mailing list