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]

Re: question regarding asm()


> resulting compiler produced slightly better code, but died a few times with the
> "forbidden register was spilled" message.  Most of the time, GCC was trying to
> spill the (unneeded) frame pointer.  I applied a small patch to tell reload that
> it's OK to spill the FP when it is not needed and now I'm left with only a few

You should rather use an extra hard register number for the frame pointer,
and then eliminate this frame pointer either to the hard frame pointer or
to the stack.


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