This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: condition codes, haifa-sched and virtual-stack-vars
- From: Richard Henderson <rth at redhat dot com>
- To: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- Cc: greg at mcgary dot org, gcc at gcc dot gnu dot org
- Date: Wed, 30 Jan 2002 17:13:15 -0800
- Subject: Re: condition codes, haifa-sched and virtual-stack-vars
- References: <200201302141.WAA17069@faui1a.informatik.uni-erlangen.de>
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.
r~