Re: Reload going wrong for addition.

2009-10-02 Thread Mohamed Shafi
2009/9/28 Richard Henderson : > On 09/28/2009 07:25 AM, Mohamed Shafi wrote: >> >> Hope someone suggests me a solution. > > The solution is almost certainly something involving the > TARGET_SECONDARY_RELOAD hook.  You need to inform reload that it's going to > need some scratch registers in order t

Re: Reload going wrong for addition.

2009-09-28 Thread Richard Henderson
On 09/28/2009 07:25 AM, Mohamed Shafi wrote: Hope someone suggests me a solution. The solution is almost certainly something involving the TARGET_SECONDARY_RELOAD hook. You need to inform reload that it's going to need some scratch registers in order to perform the operation. It's been a l

Reload going wrong for addition.

2009-09-28 Thread Mohamed Shafi
Hello all, I doing a port for a 32bit target for GCC 4.4.0. I am getting the following error: rd_er.c:19: error: insn does not satisfy its constraints: (insn 5 35 34 2 rd_er.c:8 (set (reg:SI 16 r0) (plus:SI (reg:SI 16 r0) (reg:SI 2 d2))) 57 {addsi3} (expr_list:REG_EQUAL (plus: