linux - What's optimal march & mtune options for gcc for "Pentium4 and above" processors -
my c++ application (compiled using g++) needs work on pentium-4 (32-bit) , above. however, it's typically used core2duo or better processors.
i'm using: -march=pentium4 -mtune=pentium4. reading has prompted me think -march=pentium4 -mtune=generic might better.
can shed light on this? optimal values march & mtune options in case?
platform: gcc 4.1.2 on rhel 5.3 (32-bit).
that -march=pentium4 -mtune=core2
, can seen on gcc manual.
Comments
Post a Comment