Re: Question about long jump implementation

2010-12-17 Thread Neil Hickey
Hi Ian, thanks for the response. I did manage to fix it. The problem was in my call_internal implementation. I went back and looked again at the arm implementation and spotted what I'd done wrong. Sorry for the bother. On 17 December 2010 01:21, Ian Lance Taylor wrote: > Neil Hickey writes: >

Re: Question about long jump implementation

2010-12-16 Thread Ian Lance Taylor
Neil Hickey writes: > I'm trying to implement long jump and I'm using the call instruction > in the arm implementation as a reference. > > The code looks like this: > > rtx callee, pat; > > callee = XEXP(operands[0], 0); > if (GET_CODE (callee) == SYMBOL_REF > ? atdsp_is_long_ca

Question about long jump implementation

2010-12-16 Thread Neil Hickey
I'm trying to implement long jump and I'm using the call instruction in the arm implementation as a reference. The code looks like this: rtx callee, pat; callee = XEXP(operands[0], 0); if (GET_CODE (callee) == SYMBOL_REF ? atdsp_is_long_call_p (SYMBOL_REF_DECL (callee))