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: [ping] Re: PATCH: Disable sched1 when optimizing for size


On 11/21/2009 03:56 AM, Richard Earnshaw wrote:
16-11-2009 Richard Earnshaw<rearnsha@arm.com>

	* opts.c (decode_options): Don't enable flag_schedule_insns
	when optimizing for size.
	* doc/invoke.texi: Document change.

http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00822.html

Approved.


I think you're absolutely right about sched1 merely increasing the number of registers used. I think pretty much all of the effects of this ought be mitigated by rename-registers (to increase the number of call-clobbered registers used) plus sched2. Not that rename-registers is actually enabled by default...


r~



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