in reply to How to make your Perl 30% faster

There are some mistake in your reasons of performance increase. (I'm work in computational optimitation and i'm a newbie boys of gcc@...) tree-ssa will be avaible only from gcc 4.0 (next major) the flag -msse or -msse2 can or cannot increase your performance, but they don't activate vectoritation, they only ask to the compiler to use simd instruction (see gcc's info) you can yous -mfpmath=sse,387 (as from gcc's info). 30% it's a good result, but how do you obtain this number? (old perl version, old flags, old compilers flag etc.) Recompiling can however increase your performance (Slack + Gentoo rules ;)) P.S. The intel C compiler works fine in vectoritation but: 1) No source code 2) No good code for Non-Intel 3) No AMD64 support

Replies are listed 'Best First'.
Re^2: How to make your Perl 30% faster
by PetaMem (Priest) on Nov 17, 2004 at 08:05 UTC

    Well - actually I only wanted to see the effect of using the SIMD instructions of the SSE-engine. Probably I've misunderstood the GCC pages but thought that "using the SSE engine" in automatically vectorizing sequential code IS autovectorization.

    I'm actually considering recompiling Perl once again with more optimizations for my specific CPU

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU