This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question regarding asm()
- To: chris at lslsun dot epfl dot ch (Christian Iseli)
- Subject: Re: question regarding asm()
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 28 Oct 1997 17:51:03 +0000 (GMT)
- Cc: crux at Pool dot Informatik dot RWTH-Aachen dot DE, pcg at goof dot com, egcs at cygnus dot com
> 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.