On 22 Sep 2008, at 22:08, Mindaugas Rasiukevicius wrote:
P.S. "-march=pentium4" is wrong for a Core 2 Duo anyway. It is not a Netburst CPU and therefore much more simular to a Pentium III than to a Pentium 4.I do not think GCC does some pentium4 optimisations, which are not supportedin Core 2 Duo.
I don't think so either. But the behaviour (e.g. pipe line handling) of the two CPUs is quite different. That's why I would expect that code compiled
with "-march=pentium3" works faster on a Core 2 Duo. Kind regards -- Matthias Scheler http://zhadum.org.uk/