Richard Guenther wrote:
> On Tue, Jul 5, 2011 at 4:56 PM, Ulrich Weigand <uweig...@de.ibm.com> wrote:
> > Can you elaborate? =A0We are talking about the mode returned from
> > addr_for_mem_ref here. =A0I do now understand how this can be anything
> > but an address mode:
> 
> That is an address mode, but the intermediate computation
> (base + index * step + offset) is done in pointer mode.  The
> code currently performs this in address mode as well which is
> bogus.  Which is why I suggested to use pointer mode for the
> computation (now, with the other target hook you mention) and
> then convert the result to address mode.

Ah, OK.  Yes, this does make sense ...

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  ulrich.weig...@de.ibm.com

Reply via email to