slow complex<double>'s with g++

Greg Buchholz
Fri Mar 3 17:46:00 GMT 2006

Brian Budge wrote:
> Which command line arguments are you using?  

    Mostly "-O3", but I've tried lots of combinations of different
options and I haven't yet found the magic incantation.

>Can you make use of sse2?

    Well, there is a C version that I wrote which uses gcc's vector
extensions and SSE2...

...but right now I'm more interested in why normal complex<double>'s are
so slow.

Greg Buchholz

More information about the Gcc-help mailing list