Disallow frame pointer as second register in REG+REG pair.
From-SVN: r19397
This commit is contained in:
parent
753a73c846
commit
0b81275849
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
|
||||
pointer as second register in REG+REG pair.
|
||||
|
||||
Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* c-common.c (check_format_info): Don't check for the 'x' format
|
||||
|
|
|
@ -901,6 +901,7 @@ int thumb_shiftable_const ();
|
|||
&& GET_CODE (XEXP (X, 0)) == REG \
|
||||
&& GET_CODE (XEXP (X, 1)) == REG \
|
||||
&& REGNO (XEXP (X, 0)) != FRAME_POINTER_REGNUM \
|
||||
&& REGNO (XEXP (X, 1)) != FRAME_POINTER_REGNUM \
|
||||
&& REG_OK_FOR_INDEX_P (XEXP (X, 0)) \
|
||||
&& REG_OK_FOR_INDEX_P (XEXP (X, 1))) \
|
||||
goto WIN; \
|
||||
|
|
Loading…
Add table
Reference in a new issue