Help porting to lra

2016-02-03 Thread shmeel gutl
I am trying to enable lra for my vliw architecture and I am encountering a problem of "max number of generated reload insns". The problem seems elementary but I don't see the correction. Consider r1 =r2+r3 s1=r1+r4 call func(r3) r5=s2+r1 where s registers are pseudo registers

Re: porting to lra

2015-08-24 Thread Vladimir Makarov
On 08/24/2015 02:43 PM, shmeel gutl wrote: are there any guidelines as to what needs to be done in the backend to enable lra for 5.2? Unfortunately, switching from reload to LRA can be a difficult task. Reload pass is driven by many machine target hooks. As LRA uses different algorithms these

porting to lra

2015-08-24 Thread shmeel gutl
are there any guidelines as to what needs to be done in the backend to enable lra for 5.2? when I turn it on I get two types of errors. 1) insn not recognized because fp hasn't been converted yet, and 2) max number of generated reload insns. any pointers will be appreciated shmeel