This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Complex MEM adjust_address instead of subreg (PR middle-end/21742)
- From: Richard Henderson <rth at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Jun 2005 10:14:22 -0700
- Subject: Re: [PATCH] Complex MEM adjust_address instead of subreg (PR middle-end/21742)
- References: <200506291537.j5TFbQ031858@makai.watson.ibm.com>
On Wed, Jun 29, 2005 at 11:37:26AM -0400, David Edelsohn wrote:
> The following patch modifies write_complex_part() and
> read_complex_part() to reference the real and imaginary parts of the
> complex MEMs using adjust_address() instead of creating MEM SUBREGs that
> need to be decomposed later.
You shouldn't have had to do this; simplify_gen_subreg is supposed
to have simplified the subreg of memory into a plain MEM, via
adjust_address.
Someone needs to look to see why this isn't working.
r~