This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: x86 generated code
- To: Kevin dot Hughes at icl dot com, egcs-bugs at egcs dot cygnus dot com
- Subject: Re: x86 generated code
- From: N8TM at aol dot com
- Date: Mon, 22 Mar 1999 09:02:18 EST
In a message dated 3/22/99 12:07:09 AM Pacific Standard Time,
Kevin.Hughes@icl.com writes:
> could anyone tell me the best compiler options to
> set for maximum performance on x86 - under cygwin?
You ask us to go out on a limb without knowing anything about your
application, or even which compiler. For the egcs release compilers (1.1.x),
I use '-Os -malign-double -funroll-loops', adding -march=pentiumpro
occasionally. The experimental compilers benefit from -O2 but of course that
often generates larger code.