[PATCH] Fix computation of register limit for -fsched-pressure

Pat Haugen pthaugen@linux.vnet.ibm.com
Fri Oct 28 13:08:00 GMT 2016


On 10/28/2016 06:38 AM, Bin.Cheng wrote:
> On Fri, Oct 28, 2016 at 12:27 PM, Tamar Christina
> <Tamar.Christina@arm.com> wrote:
>> > Looking at it again,
>> >
>> > it seems to be that the testcase should be adjusted.
>> > There's no actual spilling. It just uses more registers than before due to the scheduling.
> Sorry I didn't look into the test, but using more registers sounds
> like a regression too?  At least we need to make sure it's reasonable.

Using more/less registers is not unexpected, it all depends on a target's number of call-used vs. call-saved registers. As Bin mentioned, as long as it's reasonable.

-Pat



More information about the Gcc-patches mailing list