condition codes, haifa-sched and virtual-stack-vars
Ulrich Weigand
weigand@immd1.informatik.uni-erlangen.de
Thu Jan 31 16:07:00 GMT 2002
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
More information about the Gcc
mailing list