* config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
the mode size when finding out if an offset is legal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30104
138bc75d-0d04-0410-961f-
82ee72b054a4
+Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
+
+ * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
+ the mode size when finding out if an offset is legal.
+
Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
* basic-block.h (PROP_*): Move constants from ...
&& REGNO (XEXP (X, 0)) == STACK_POINTER_REGNUM \
&& GET_MODE_SIZE (MODE) >= 4 \
&& GET_CODE (XEXP (X, 1)) == CONST_INT \
- && (unsigned HOST_WIDE_INT) INTVAL (XEXP (X, 1)) < 1024 \
+ && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (X, 1)) \
+ + GET_MODE_SIZE (MODE)) <= 1024 \
&& (INTVAL (XEXP (X, 1)) & 3) == 0) \
goto WIN; \
} \