mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 19:50:27 +08:00
arm.c (thumb_base_register_rtx_p): Use regno in comparison against FIRST_PSEUDO_REGISTER.
* arm.c (thumb_base_register_rtx_p): Use regno in comparison against FIRST_PSEUDO_REGISTER. From-SVN: r74829
This commit is contained in:
parent
f1af10c25d
commit
edf7cee87b
@ -1,3 +1,8 @@
|
||||
2003-12-19 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* arm.c (thumb_base_register_rtx_p): Use regno in comparison against
|
||||
FIRST_PSEUDO_REGISTER.
|
||||
|
||||
2003-12-18 Hartmut Penner <hpenner@de.ibm.com>
|
||||
|
||||
* gcc/config/rs6000/rs6000.c (USE_ALTIVEC_FOR_ARG_P): Don't check
|
||||
|
@ -2868,7 +2868,7 @@ arm_legitimate_index_p (enum machine_mode mode, rtx index, int strict_p)
|
||||
&& INTVAL (index) > -range);
|
||||
}
|
||||
|
||||
/* Return nonzero if X is valid as an Thumb state base register. */
|
||||
/* Return nonzero if X is valid as a Thumb state base register. */
|
||||
static int
|
||||
thumb_base_register_rtx_p (rtx x, enum machine_mode mode, int strict_p)
|
||||
{
|
||||
@ -2887,7 +2887,7 @@ thumb_base_register_rtx_p (rtx x, enum machine_mode mode, int strict_p)
|
||||
|| regno == FRAME_POINTER_REGNUM
|
||||
|| (GET_MODE_SIZE (mode) >= 4
|
||||
&& (regno == STACK_POINTER_REGNUM
|
||||
|| x >= FIRST_PSEUDO_REGISTER
|
||||
|| regno >= FIRST_PSEUDO_REGISTER
|
||||
|| x == hard_frame_pointer_rtx
|
||||
|| x == arg_pointer_rtx)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user