How to use a fast scratchpad-RAM for fill/spill ?
Daniel Jacobowitz
drow@false.org
Wed May 11 20:20:00 GMT 2005
On Wed, May 11, 2005 at 11:58:39AM -0700, Greg McGary wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>
> > ... Or you could try telling the entire compiler to treat them as
> > registers, instead of just reload. That's likely to work as well or
> > better.
>
> So, I define these as a separate register class, and only the movM
> insn patterns get constraints that match them, right? Anything else?
That would work; for good results, though, you may also need to modify
any predicates which check hard registers.
> Should I tack them onto the end of REG_ALLOC_ORDER, or leave them
> off?
End.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gcc
mailing list