Visual C++ Toolkit 2003 Compiler Optimalisation Flags

Fanatic Demon

Student in Wizardry
Joined
Aug 6, 2004
Messages
404
Location
The Netherlands
In the compiler options of code blocks, I notised in the Compiler Flags in the Visual C++ Toolkit 2003, is has flags for optimising code.

Some of the most intresting compiler flags are:
- /O2 : maximise speed
- /Og: enable global optimalisation
- /Ox : maximum optimalisation (no need for other options)
- /Ot : favor code speed
- /G7 : optimise for Pentium 4 / Athlon
- /arch:SSE enable SSE instruction set
- /arch:SSE2 enable SSE2 instruction set
- /GA : optimise for windows applications

I tried /O2 / Ot / G7 /arch:SSE /arch:SSE2 which copiles and runs correctly. It may be my imagination but it seems faster. Does anyone have any insight in this compiler optimalistion?
 
Top Bottom