This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, i386] Turn on -fschedule-insns and -fsched-pressure by default for x86-64


On 12/06/2010 09:04 PM, Fang, Changpeng wrote:
Hi,

Attached is the patch that proposes to turn on -fschedule-insns and -fsched-pressure by default at
-O2 or higher (for speed-runs only) for x86-64 systems.  Enablement of these two flags could improve
the performance of floating point programs (For CFP2006, 2.29% under -O2, and  1.34% under -O3).
There is no apparent performance  impact on integer programs (as expected).

We have investigated this optimization since 4.5, and it is the time to turn on these two flags to enjoy
the performance gains.

I think enabling rename registers whenever schedule_insns2 is enabled would achieve almost the same freedom without risking bugs like 46829. There are just too many singleton register classes in i386 for schedule-insns to work. :(


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]