This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to use a fast scratchpad-RAM for fill/spill ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]