gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [PATCH] Fix PR rtl-optimization/27661 (reload problem)

Subject: Re: [PATCH] Fix PR rtl-optimization/27661 reload problem
From:
Date: Thu, 25 May 2006 20:30:54 +0200 CEST
Bernd Schmidt wrote:

> From the sounds of it, you don't want the insn to end up with a 
> constant in the address anyway, so can't you just disallow these kinds 
> of addresses in GO_IF_LEGITIMATE_ADDRESS?

No, the address is perfectly legitimate, and other instructions 
will accept it, just this particular insn (alternative) doesn't.

We have different types of instructions accepting different variants
of valid addresses, some accept an index register and some don't,
and some accept only a 12-bit unsigned displacement while others
accept a 20-bit signed displacement.  I must accept *all* these
variants as legitimate addresses -- the insn constraints then work
out the fine details ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  Linux on zSeries Development
  Ulrich.Weigand@xxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>