On 10/22/14 21:35, Maxim Kuvyrkov wrote:
Hi,

For benchmarking and tuning of register-pressure scheduling I've made
the following simple patch to adjust effective number of registers
that scheduler has at its disposal.  Do you think this would be
valuable for others to investigate performance problems or tune
register-pressure scheduling?

The parameter scales number of register by the given number of
percent (the default is 100, which is the current status quo).  At
value of 50 the scheduler attempt to use only half of available
registers, while value of 200 will cause it to assume double the
number of available registers (and, likely, cause a lot of spills).
While I like it as a tool for us as a tuning and debugging tool, I hate it as something we'd make available to our users.

I don't think we've ever had developer-only options, but this is precisely the kind of thing that would belong as a developer-only option IMHO.

jeff

Reply via email to