This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SMALL_REGISTER_CLASSES
- To: michaelh at ongaonga dot chch dot cri dot nz, law at cygnus dot com, egcs at cygnus dot com
- Subject: Re: SMALL_REGISTER_CLASSES
- From: Geoffrey KEATING <geoffk at discus dot anu dot edu dot au>
- Date: Mon, 26 Jan 1998 16:08:11 +1100 (EST)
> But I would recommend first looking into other solutions first, mentioning
> regs explicitly in RTL is a bad thing
Unfortunately, the user can mention regs explicitly in 'asm'
statements, too. This causes problems on rs6000, where there are
no small register classes mentioned in the RTL, but users can write
things like
asm ("" : : : "cr0");
and get 'forbidden register spilled' if a pseudo (in this case, most
likely derived from a "CC" in the RTL) needs a register of that class.
--
Geoff Keating <Geoff.Keating@anu.edu.au>