Konstantin Vladimirov writes:
> What one must use in custom backend to suppress frame pointer usage by
> default?
>
> Frame pointer is mentioned in ELIMINABLE_REGS:
>
> #define ELIMINABLE_REGS \
> { \
> {ARG_POINTER_REGNUM
Hi,
What one must use in custom backend to suppress frame pointer usage by default?
Frame pointer is mentioned in ELIMINABLE_REGS:
#define ELIMINABLE_REGS \
{ \
{ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \
{ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM
omit the frame pointer for the concerned function.
-Sumanth G
-Original Message-
From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Iyer,
Balaji V
Sent: Tuesday, April 12, 2011 2:27 AM
To: Ian Lance Taylor
Cc: gcc@gcc.gnu.org
Subject: RE: Frame Pointer Usage
Yes,
Yes, that is what I want. Thank you!
-Balaji V. Iyer.
-Original Message-
From: Ian Lance Taylor [mailto:i...@google.com]
Sent: Monday, April 11, 2011 4:40 PM
To: Iyer, Balaji V
Cc: gcc@gcc.gnu.org
Subject: Re: Frame Pointer Usage
"Iyer, Balaji V" writes:
> Thanks Ian
"Iyer, Balaji V" writes:
> Thanks Ian for your help. If I set the frame pointer required hook (using
> SUBTARGET_FRAME_POINTER_REQUIRED and TARGET_FRAME_POINTER_REQUIRED) it will
> set the frame-pointer for all the functions..am I correct? I would like to
> force it to use the frame-pointer f
Sent: Friday, April 08, 2011 6:32 PM
To: Iyer, Balaji V
Cc: gcc@gcc.gnu.org
Subject: Re: Frame Pointer Usage
"Iyer, Balaji V" writes:
> I have a question regarding using frame pointers. I have a scenario
> where I need to use the frame for certain functions and for the othe
"Iyer, Balaji V" writes:
> I have a question regarding using frame pointers. I have a scenario
> where I need to use the frame for certain functions and for the other
> functions it can optimize it out. I see there is a flag called
> "-fno-omit-frame-pointer", which will keep the frame
Hello Everyone,
I have a question regarding using frame pointers. I have a scenario
where I need to use the frame for certain functions and for the other functions
it can optimize it out. I see there is a flag called
"-fno-omit-frame-pointer", which will keep the frame pointer for all t