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: Why doesn't -fomit-frame-pointer work(very well)?


On Tue, Apr 02, 2002 at 03:18:30PM -0500, Peter Barada wrote:
> Can anybody give me a clue how to do this?  I'll go off and look
> into it, but I need a starting point...
> 
> I looked into ELIMINABLE_REGS, but nobody defines it...

Eh?

1750a/1750a.h:#define ELIMINABLE_REGS { \
alpha/alpha.h:#define ELIMINABLE_REGS                             \
arm/arm.h:#define ELIMINABLE_REGS                                    \
avr/avr.h:#define ELIMINABLE_REGS {                                \
avr/avr.h:   #define ELIMINABLE_REGS  \
c4x/c4x.h:#define       ELIMINABLE_REGS                                  \
cris/cris.h:#define ELIMINABLE_REGS                             \
d30v/d30v.h:        #define ELIMINABLE_REGS  \
d30v/d30v.h:#define ELIMINABLE_REGS                                     \
fr30/fr30.h:        #define ELIMINABLE_REGS  \
fr30/fr30.h:#define ELIMINABLE_REGS                             \
h8300/h8300.h:#define ELIMINABLE_REGS                                   \
i386/i386.h:#define ELIMINABLE_REGS                                     \
i960/i960.h:#define ELIMINABLE_REGS     \
EGNUM}}
ia64/ia64.h:#define ELIMINABLE_REGS                                        \
m32r/m32r.h:#define ELIMINABLE_REGS                                     \
m68hc11/m68hc11.h:#define ELIMINABLE_REGS                                  \
m88k/m88k.h:#define ELIMINABLE_REGS                             \
mcore/mcore.h:#define ELIMINABLE_REGS                           \
mips/mips.h:        #define ELIMINABLE_REGS  \
mips/mips.h:#define ELIMINABLE_REGS                                        \
mmix/mmix.h:#define ELIMINABLE_REGS                             \
mn10300/mn10300.h:#define ELIMINABLE_REGS                               \
pa/pa64-linux.h:#define ELIMINABLE_REGS                                     \
pj/pj.h:#define ELIMINABLE_REGS                                         \
romp/romp.h:#define ELIMINABLE_REGS                             \
rs6000/rs6000.h:#define ELIMINABLE_REGS                         \
s390/s390.h:#define ELIMINABLE_REGS                                     \
sh/sh.h:#define ELIMINABLE_REGS                                         \
sparc/sparc.h:#define ELIMINABLE_REGS \
stormy16/stormy16.h:#define ELIMINABLE_REGS                                \

Sparc is probably a good model, since in that case the soft
frame pointer eliminates exactly to the hard frame pointer
when it exists.


r~


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