This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Avoiding REG+OFF memory accesses
- From: Iceman <iceman_dvd at yahoo dot com>
- To: gcc at gnu dot org
- Date: Wed, 6 May 2009 15:48:02 -0700 (PDT)
- Subject: 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