[fpc-pascal] optimised compiler options for "release" version
Graeme Geldenhuys
graemeg at opensoft.homeip.net
Tue Jun 9 09:24:41 CEST 2009
leledumbo wrote:
> AFAIK only -CfSSE? and -Op??? that you have to worry. If you're not sure,
> just use the lowest possible value (-CfX87 and -Op386). For optimizations,
> even using -O3 is fine.
Thanks. Do you know what exactly changes when you use various
optimization options? Is it primarily executable size or more speed
related optimizations?
If it is speed related, how can I actually test the speed differences so
see by how much it increases? Does FPC have such tests available
somewhere in the source code?
--
Regards,
- Graeme -
_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list