RE: addsi3_mips16 and frame pointer with LRA

2013-11-06 Thread Matthew Fortune
> I'll do the patch tomorrow to fix it. The patch should be not big but it will > need a lot testing. Thanks Vladimir. The fix appears to be working.

Re: addsi3_mips16 and frame pointer with LRA

2013-10-30 Thread Vladimir Makarov
On 10/29/2013, 5:20 PM, Matthew Fortune wrote: On 10/29/2013 09:43 AM, Matthew Fortune wrote: It is hard for me to say what is going on. Elimination is done when we match hard reg against constraints. May be elimination to hfp is rejected on some sub-pass and LRA don't try all alternatives afte

RE: addsi3_mips16 and frame pointer with LRA

2013-10-29 Thread Matthew Fortune
> On 10/29/2013 09:43 AM, Matthew Fortune wrote: > > Hi Richard/Vladimir, > > > > I believe I finally understand one of the issues with LRA and mips16 but I > can't see how to solve it. Take the following instruction: > > > > (insn 5 18 6 2 (set (reg:SI 4 $4) > > (plus:SI (reg/f:SI 78 $fram

Re: addsi3_mips16 and frame pointer with LRA

2013-10-29 Thread Richard Sandiford
Thanks for looking at this. Matthew Fortune writes: > Hi Richard/Vladimir, > > I believe I finally understand one of the issues with LRA and mips16 but > I can't see how to solve it. Take the following instruction: > > (insn 5 18 6 2 (set (reg:SI 4 $4) >     (plus:SI (reg/f:SI 78 $frame) >   

Re: addsi3_mips16 and frame pointer with LRA

2013-10-29 Thread Vladimir Makarov
On 10/29/2013 09:43 AM, Matthew Fortune wrote: > Hi Richard/Vladimir, > > I believe I finally understand one of the issues with LRA and mips16 but I > can't see how to solve it. Take the following instruction: > > (insn 5 18 6 2 (set (reg:SI 4 $4) > (plus:SI (reg/f:SI 78 $frame) >