Does a target system must support indexing?

Ian Lance Taylor iant@google.com
Fri Jun 1 14:56:00 GMT 2012


"Setjem Setjem" <Setjem@gmx.de> writes:

>> Look at TARGET_LEGITIMIZE_ADDRESS and at expand time you can
>> force the [reg+const] addresses into a register.
>
> Thank you very much,
>
> Let me get this right that expand time is the time before reload is in progress? 
>
> Now i have implemeted TARGET_LEGITIMIZE_ADDRESS:

But have you done the "at expand time" part?  That means that you need
to write movMODE as a define_expand that stuffs the address into a
register.

Ian



More information about the Gcc-help mailing list