This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [cft] subreg validation round 2
- From: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 17 Nov 2004 19:57:43 +0100
- Subject: Re: [cft] subreg validation round 2
Richard Henderson wrote:
>Index: regmove.c
>===================================================================
>RCS file: /cvs/gcc/gcc/gcc/regmove.c,v
>retrieving revision 1.164
>diff -u -p -r1.164 regmove.c
>--- regmove.c 9 Oct 2004 19:19:24 -0000 1.164
>+++ regmove.c 15 Nov 2004 20:38:43 -0000
>@@ -1150,10 +1150,8 @@ regmove_optimize (rtx f, int nregs, FILE
> && GET_MODE_SIZE (GET_MODE (dst))
> >= GET_MODE_SIZE (GET_MODE (SUBREG_REG (dst))))
> {
>- src_subreg
>- = gen_rtx_SUBREG (GET_MODE (SUBREG_REG (dst)),
>- src, SUBREG_BYTE (dst));
> dst = SUBREG_REG (dst);
>+ src_subreg = gen_lowpart (GET_MODE (dst), src);
> }
> if (!REG_P (dst)
> || REGNO (dst) < FIRST_PSEUDO_REGISTER)
This hunk fails as I've already checked in the updated version of the fix.
I've started testing on s390(x) with the rest of the patch applied.
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand
Linux for S/390 Design & Development
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
Phone: +49-7031/16-3727 --- Email: Ulrich.Weigand@de.ibm.com