Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-10-18 18:24:35


Ullrich Koethe wrote:
> HI Hailin,
> > we just tried your test file with GCC 4.0.2, GCC 4.1.1 and
>> Visual Studio 2005 (VC8). I used Cygwin for both GCC tests. My machine
>> is Xeon 3.2 dual CPU. Both proxy and accessor implementation run at the
>> SAME speed (release builds: -O2 for GCC and /O2 for Visual Studio). So
>> could it be that GCC 3 is not doing a good in optimizing the code?
>>
>
> Apparently. So this is a non-issue then. Interestingly, the transformation
> interleaved => planar is faster than planar => interleaved. Is this also
> true on your platforms?

G++ is a poor compiler to test for optimization and speed. Use VC8
instead. It produces one of the tightest code so far.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk