| Paul Barton-Davis writes:
> >The score for a 333MHz P-II:
> >
> > Original benchmark: 49 oscillators
> > With float wavetable: 104 oscillators
> > And integer phase accum: 565 oscillators
>
> Yowsa! On a 450Mhz P-II, with -O3 -funroll-loops: 798 oscillators (daddy-oh!)
You might try -m686 or even -march=686. You're compiling
386-optimized code. The first gives PII optimized, and the second
uses PII opcodes. You might also want to try -O9 (if you're using
egcs) since this may allow even more optimization. Also, optimizing
for size instead of speed may make things faster; using sine and
cosine could be faster (!) than a lookup table if the table's big ---
memory is *slow* so if you're short of cache, and Pentia have good
floating point.
> Thanks Ed. Nice demonstration of how the little details sometimes
> matter a lot.
>
> --p
Let me know if it helps... Not that thisi is especially relevant to
the original poster's question.
|