On Mon, May 05, 2008 at 07:18:39PM +0200, Jens M Andreasen wrote:
> Could you try this out with your proposed compiler options on your own
> hardware?
>
> ...
> #define N 1024
> ...
> int n = 1000000;
> ...
Looping a million times over the same small data vector
is _not_ very realistic.
In a real app, the data size would be much longer (there's
no need to optimise otherwise), that data would be rewritten
for each iteration (no need to redo the calculation otherwise),
and the work would not be done in a single long run but be
divided over a number of e.g. jack process callbacks.
I've again performed some tests on zita-convolver used by
jconv to do the York Minster config. That means around 240
different blocks of 8192 complex values each. The differences
between plain C++, hand vectorized, and optimised assembly
code are absolutely marginal in that case.
Ciao,
-- FA Laboratorio di Acustica ed Elettroacustica Parma, Italia Lascia la spina, cogli la rosa. _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/mailman/listinfo/linux-audio-devReceived on Tue May 6 00:15:03 2008
This archive was generated by hypermail 2.1.8 : Tue May 06 2008 - 00:15:03 EEST