Commit 7086004d by Andrew Haley Committed by Andrew Haley

thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of the mode size when finding…

thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of the mode size when finding out if an offset is legal.

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.

From-SVN: r30104
parent 49c3bb12
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 ...
......
......@@ -1007,7 +1007,8 @@ extern int making_const_table;
&& 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; \
} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment