This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Avoiding REG+OFF memory accesses


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.
Can you please Cc me, since I am not subscribed. Thank you.

   James


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]