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: condition codes, haifa-sched and virtual-stack-vars


Richard Henderson wrote:

> On Wed, Jan 30, 2002 at 10:41:43PM +0100, Ulrich Weigand wrote:
> > On s390, while we do have a load-address pattern, it is somewhat
> > restricted (e.g. it accepts only immediate offsets in the 0..4095
> > range).  I've tried to trick reload into using LA anyway, by 
> > providing a generic 'add' pattern and splitters to massage the
> > result into a form acceptable by LA afterward.
> 
> On i386 we have a peephole2 that converts lea to add if the
> flags register is dead.

Thanks for the tip, I'll look into that approach on s390.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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