This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stack offset computation for incoming arguments.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]