Re: [PATCH i386] Move CLOBBERED_REGS earlier in register class list

2015-05-11 Thread Uros Bizjak
On Mon, May 11, 2015 at 6:25 PM, Alexander Monakov wrote: >> >>> LEGACY_REGS, which causes IRA not to consider it separately for register >> >>> allocation, even when it has lower cost than other classes. This patch >> >>> is >> >>> useful to fix code generation problem that appears with no-PLT

Re: [PATCH i386] Move CLOBBERED_REGS earlier in register class list

2015-05-11 Thread Alexander Monakov
On Sun, 10 May 2015, Uros Bizjak wrote: > On Sun, May 10, 2015 at 7:51 PM, Uros Bizjak wrote: > > On Sun, May 10, 2015 at 6:44 PM, Jan Hubicka wrote: > >>> On 32-bit x86, register class CLOBBERED_REGS is a proper subset of > >>> LEGACY_REGS, which causes IRA not to consider it separately for regi

Re: [PATCH i386] Move CLOBBERED_REGS earlier in register class list

2015-05-10 Thread Uros Bizjak
On Sun, May 10, 2015 at 7:51 PM, Uros Bizjak wrote: > On Sun, May 10, 2015 at 6:44 PM, Jan Hubicka wrote: >>> On 32-bit x86, register class CLOBBERED_REGS is a proper subset of >>> LEGACY_REGS, which causes IRA not to consider it separately for register >>> allocation, even when it has lower cost

Re: [PATCH i386] Move CLOBBERED_REGS earlier in register class list

2015-05-10 Thread Uros Bizjak
On Sun, May 10, 2015 at 6:44 PM, Jan Hubicka wrote: >> On 32-bit x86, register class CLOBBERED_REGS is a proper subset of >> LEGACY_REGS, which causes IRA not to consider it separately for register >> allocation, even when it has lower cost than other classes. This patch is >> useful to fix code

Re: [PATCH i386] Move CLOBBERED_REGS earlier in register class list

2015-05-10 Thread Jan Hubicka
> On 32-bit x86, register class CLOBBERED_REGS is a proper subset of > LEGACY_REGS, which causes IRA not to consider it separately for register > allocation, even when it has lower cost than other classes. This patch is > useful to fix code generation problem that appears with no-PLT PIC tailcalls

[PATCH i386] Move CLOBBERED_REGS earlier in register class list

2015-05-04 Thread Alexander Monakov
On 32-bit x86, register class CLOBBERED_REGS is a proper subset of LEGACY_REGS, which causes IRA not to consider it separately for register allocation, even when it has lower cost than other classes. This patch is useful to fix code generation problem that appears with no-PLT PIC tailcalls. Was t