My C++ application (compiled using g++) needs to work on Pentium-4 (32-bit) and above. However, it's typically used with Core2Duo or better processors.
I'm currently using: -march=pentium4 -mtune=pentium4. But some reading has prompted me to think that -march=pentium4 -mtune=generic might be better.
Can anybody shed some light on this? What are the optimal values for march & mtune options in this case?
Platform: GCC 4.1.2 on RHEL 5.3 (32-bit).