Ian Lance Taylor wrote:
"Mohamed Shafi" <[EMAIL PROTECTED]> writes:

For the 16 bit target that i am currently porting can have only
positive offsets less than 0x100. (unsigned 8 bit) for offset
addressing mode.

I would expect reload to be able to handle this kind of thing anyhow,
assuming you define GO_IF_LEGITIMATE_ADDRESS correctly.  reload should
automatically try loading an out of range offset into a register.
Agreed.

Typically if there are problems in this area it is because the port hasn't properly defined secondary reloads, or the valid offsets are not consistent within a machine mode.

Mohamed, without more details, there's not much we can do to help you.


Jeff

Reply via email to