again problems implementing own target
Jim Wilson
wilson@specifix.com
Mon Oct 8 22:38:00 GMT 2007
Michael_fogel wrote:
> In my opinion the compiler ran out of registers and was not able to
> allocate the pseudo register. In this case the compiler has to spill
> these registers. How is this done in GCC? Is there a way to control it?
There are a lot of things that affect this. The main things are
constraints in the cpu.md file which specify register classes, and
definitions in the cpu.h file which define the register classes. There
are also various macros for adjusting costs related to register classes,
availability of registers, suitability of registers for reloads,
secondary reloads, etc. There is far too much stuff to list here. See
the docs, and learn how to read -da RTL dumps.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
More information about the Gcc
mailing list