question regarding asm()
Joern Rennecke
amylaar@cygnus.co.uk
Tue Oct 28 10:25:00 GMT 1997
> 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.
More information about the Gcc
mailing list