Legitimize address after reload
Richard Sandiford
rdsandiford@googlemail.com
Tue Mar 18 19:13:00 GMT 2014
Richard Sandiford <rdsandiford@googlemail.com> writes:
> What DJ meant below was that you should reject all pseudo registers
> if strict_p. I.e. REG_P (foo) should be:
>
> REG_P (foo) && (!strict_p || REGNO_MODE_OK_FOR_BASE_P (foo, mode))
sorry:
REG_P (foo) && (!strict_p || REGNO_MODE_OK_FOR_BASE_P (REGNO (foo), mode))
> where REGNO_MODE_OK_FOR_BASE_P should only accept hard registers and
> where "mode" is the mode of the memory being accessed.
>
> Thanks,
> Richard
More information about the Gcc
mailing list