From 92f45e29e2a7cf09de8b77c98d5cca6e24f27058 Mon Sep 17 00:00:00 2001 From: rearnsha Date: Wed, 18 Feb 2004 18:44:23 +0000 Subject: [PATCH] PR target/13866 * arm.c (load_multiple_operation): Don't insist that the source reg of a post-increment component is the same as the destination. (store_multiple_operation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78041 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/config/arm/arm.c | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e09284c..05145c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-02-18 Richard Earnshaw + + PR target/13866 + * arm.c (load_multiple_operation): Don't insist that the source reg + of a post-increment component is the same as the destination. + (store_multiple_operation): Likewise. + 2004-02-18 Kazu Hirata * config/h8300/h8300.md: Move movsf patterns into one section diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 2ec011e..7ae5312 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -5051,7 +5051,6 @@ load_multiple_operation (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) /* Now check it more carefully. */ if (GET_CODE (SET_DEST (elt)) != REG || GET_CODE (XEXP (SET_SRC (elt), 0)) != REG - || REGNO (XEXP (SET_SRC (elt), 0)) != REGNO (SET_DEST (elt)) || GET_CODE (XEXP (SET_SRC (elt), 1)) != CONST_INT || INTVAL (XEXP (SET_SRC (elt), 1)) != (count - 1) * 4) return 0; @@ -5111,7 +5110,6 @@ store_multiple_operation (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) /* Now check it more carefully. */ if (GET_CODE (SET_DEST (elt)) != REG || GET_CODE (XEXP (SET_SRC (elt), 0)) != REG - || REGNO (XEXP (SET_SRC (elt), 0)) != REGNO (SET_DEST (elt)) || GET_CODE (XEXP (SET_SRC (elt), 1)) != CONST_INT || INTVAL (XEXP (SET_SRC (elt), 1)) != (count - 1) * 4) return 0; -- 2.7.4