Iceman <iceman_...@yahoo.com> writes: > Sorry for such trivial question, but is there any macro that can be used to > avoig GCC to generate > REG+OFF memory accesses? > So basically to force GCC to break: > > (mem (plus (reg const_int))) > > into > > (set regtmp (plus (reg const_int))) > (set (mem regtmp) reg) > > This w/out writing custom RTL.
Assuming this is a private port, this should happen more or less automatically if GO_IF_LEGITIMATE_ADDRESS rejects register plus offset addressing. If that is not what you are looking for, I think you need to provide some more context. Ian