> 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},\
>
Dear Eric,
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 and FRAME_POINTER_REGNUM need to be pseudo-registers if
> they do not represent real registers.
The wording "pseudo registers" is obviously a bit confusing in this context...
If ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM do not represent real registers
then they need to be
> As advised given by you ,we defind the following marcos like
>
> #define ARG_POINTER_REGNUM 9
> #define FRAME_POINTER_REGNUM 8
ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM need to be pseudo-registers if
they do not represent real registers.
> #define STACK_POINTER_REGNUM 10
>
>
> #define ELI
Dear Eric,
As advised given by you ,we defind the following marcos like
#define ARG_POINTER_REGNUM 9
#define FRAME_POINTER_REGNUM 8
#define STACK_POINTER_REGNUM 10
#define ELIMINABLE_REGS \
{{ ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \
{ FRAME_POINT
Dear Eric,
As advised given by you ,we defind the following marcos like
#define ARG_POINTER_REGNUM 9
#define FRAME_POINTER_REGNUM 8
#define STACK_POINTER_REGNUM 10
#define ELIMINABLE_REGS \
{{ ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \
{ FRAME_POINT
Thank you Eric for the inputs and will make the required changes.
Thank you Again
~Umesh
On Fri, Apr 25, 2014 at 9:58 PM, Eric Botcazou wrote:
>> #define FIRST_PARM_OFFSET(FNDECL) (get_frame_size() +
>> STARTING_FRAME_OFFSET + RETURN_BYTES )
>
> I don't think that you can define FIRST_PARM_OFF
> #define FIRST_PARM_OFFSET(FNDECL) (get_frame_size() +
> STARTING_FRAME_OFFSET + RETURN_BYTES )
I don't think that you can define FIRST_PARM_OFFSET like so, you need to have
a fixed FIRST_PARM_OFFSET (for some definition of fixed) and eliminate the
argument pointer during reload.
--
Eric Bo