> Really Appreciate your reply here and made the following changes like
>
> #define ARG_POINTER_REGNUM 8 //Fake hard reg
> #define FRAME _POINTER_REGNUM 9 // Fake hard reg
> #define SP_REG 10
>
> #define ELIMINABLE_REGS { {ARG_POINTER_REGNUM,STACK_POINTER_REGNUM}, \
> {ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM}, \
> {FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM} }
I don't understand these changes at all.
> The ARG and FRAME reg are not marked as fixed regs ,but marked as
> call used regs respectively.
If they are fake, you ought to mark them as fixed.
> Please help us regrading with any hints ??
Look at existing ports in the tree with an equivalent setup.
--
Eric Botcazou