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 ...
Dr. Ulrich Weigand
Linux on zSeries Development