Re: LRA Vs match_scratch

2018-09-16 Thread Claudiu Zissulescu
Hi Segher, Sorry for the late reply... Good to know that. I also observed some problems how we define register classes for ARC. Please allow me to clean it a bit, and then come back to you with this problem, if it is still there. Thank you, Claudiu On Tue, Sep 11, 2018 at 6:00 PM Segher Boessenk

Re: LRA Vs match_scratch

2018-09-11 Thread Segher Boessenkool
Hi Claudiu, On Tue, Sep 04, 2018 at 11:11:44AM +0200, Claudiu Zissulescu wrote: > I am trying to get LRA fully working for ARC, but I've got an issue. > Whenever, LRA analyses an instruction having (clobber > (match_scratch:SI 3 "=X, ...)) in its pattern I hit the assert in > lra-constraints.c:410

Re: LRA Vs match_scratch

2018-09-05 Thread Segher Boessenkool

LRA Vs match_scratch

2018-09-04 Thread Claudiu Zissulescu
Hi guys, I am trying to get LRA fully working for ARC, but I've got an issue. Whenever, LRA analyses an instruction having (clobber (match_scratch:SI 3 "=X, ...)) in its pattern I hit the assert in lra-constraints.c:4101, and it seems it has to do with the scratch's 'X' constraint. Do I miss somet