Re: [patch] Use simple LRA algorithm at -O0

2019-12-19 Thread Vladimir Makarov
On 12/19/19 6:29 AM, Eric Botcazou wrote: Simple LRA algorithms switch off hard register splitting, so there might a slightly bigger chance for occurring "can find reload register" error (e.g. when -O0 -fschedule-insns is used). But this error is still not solved in general case and in my experie

Re: [patch] Use simple LRA algorithm at -O0

2019-12-19 Thread Eric Botcazou
> Simple LRA algorithms switch off hard register splitting, so there might > a slightly bigger chance for occurring "can find reload register" error > (e.g. when -O0 -fschedule-insns is used). But this error is still not > solved in general case and in my experience the chance for this error is > e

Re: [patch] Use simple LRA algorithm at -O0

2019-12-18 Thread Vladimir Makarov
On 2019-12-17 1:02 p.m., Eric Botcazou wrote: Hi, LRA is getting measurably slower since GCC 8, at least on x86, and things are worsening since GCC 9. While this might be legitimate when optimization is enabled, it's a pure waste of cycles at -O0 so the attached patch switches LRA over to usi

[patch] Use simple LRA algorithm at -O0

2019-12-17 Thread Eric Botcazou
Hi, LRA is getting measurably slower since GCC 8, at least on x86, and things are worsening since GCC 9. While this might be legitimate when optimization is enabled, it's a pure waste of cycles at -O0 so the attached patch switches LRA over to using the simple algorithm when optimization is di