"Setjem Setjem" <Setjem@xxxxxx> 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