Just an FYI: I set up the Debian/etch (testing) box to use gcc 4.1. Both pd-MAIN and Pd-extended are compiling fine with gcc 4.1. It would be nice to try some of the auto-vectorization features. Has anyone messed with them at all?
.hc
On Sun, 2006-08-13 at 21:29 -0400, Hans-Christoph Steiner wrote:
Just an FYI: I set up the Debian/etch (testing) box to use gcc 4.1. Both pd-MAIN and Pd-extended are compiling fine with gcc 4.1. It would be nice to try some of the auto-vectorization features. Has anyone messed with them at all?
the biggest problem, the compiler faces, is not only the loop itself, but memory alignment and aliasing ... if the compiler doesn't allocate the memory itself, it's unlikely that it generates decent vectorized code ... so, i suppose, the performance gain of auto-vectorization for pd is more or less placebo but iirc, there is an -ftree-vectorizer-verbose option for gcc to get some information from the vectorizer ...
cheers ... tim
-- tim@klingt.org ICQ: 96771783 http://www.mokabar.tk
Which is more musical, a truck passing by a factory or a truck passing by a music school? John Cage