Question about GO_IF_LEGITIMIZE_ADDRESS
Richard Henderson
rth@redhat.com
Mon Feb 18 16:42:00 GMT 2002
On Mon, Feb 18, 2002 at 07:15:51PM -0500, DJ Delorie wrote:
> What about insn-specific predicates that match the addressing modes
> the insn supports?
If you use the 'p' or 'm' constraints, then reload may happily
notice that your (reg) address needs reloading and that it is
REG_EQUAL to a symbol_ref, which G_I_L_A accepts -> you lose.
Hmm. Except this *would* work if you allocate an extra register via
(clobber (match_scratch:SI N "=&a"))
which you can then use in case reload did change the address on you.
r~
More information about the Gcc
mailing list