This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR 11591: Allow any offset to arg-pointer in nonstrict case
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Hartmut Penner <HPENNER at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Geoff Keating <geoffk at geoffk dot org>, dje at watson dot ibm dot com, Segher Boessenkool <BOESSEN at de dot ibm dot com>, maissner at suse dot de, Andreas Jaeger <aj at suse dot de>, Michael Matz <matz at suse dot cz>
- Date: Mon, 29 Mar 2004 14:37:08 -0400
- Subject: Re: [PATCH] PR 11591: Allow any offset to arg-pointer in nonstrict case
- References: <OF8CAD22CA.0D5D017F-ONC1256E66.002A3541-C1256E66.00356265@de.ibm.com>
> --- gcc/config/rs6000/rs6000.c 25 Mar 2004 17:43:19 -0000 1.616
> +++ gcc/config/rs6000/rs6000.c 29 Mar 2004 07:39:05 -0000
> @@ -3267,7 +3267,8 @@ rs6000_legitimate_address (enum machine_
> if (! reg_ok_strict
> && GET_CODE (x) == PLUS
> && GET_CODE (XEXP (x, 0)) == REG
> - && XEXP (x, 0) == virtual_stack_vars_rtx
> + && (XEXP (x, 0) == virtual_stack_vars_rtx
> + || XEXP (x, 0) == arg_pointer_rtx)
I don't have any problem with this, but I'd rather David or Geoff
review this, since it affects non-altivec code.
Cheers.
Aldy