to frame pointer initialisation instruction.
(thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
initialisation instruction.
+ (soft_df_operand): Do not accept the IP register.
+ (nonimmediate_soft_df_operand): Do not accept the IP register.
2002-01-16 Jakub Jelinek <jakub@redhat.com>
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);
- if (REGNO (op) == IP_REGNUM)
- return FALSE;
- return TRUE;
+ /* The IP register must not be used, since its higher
+ numbered counterpart is 13 - the stack pointer. */
+ return REGNO (op) != IP_REGNUM;
}
if (mode != VOIDmode && GET_MODE (op) != mode)
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);
- if (REGNO (op) == IP_REGNUM)
- return FALSE;
- return TRUE;
+ /* The IP register must not be used, since its higher
+ numbered counterpart is 13 - the stack pointer. */
+ return REGNO (op) != IP_REGNUM;
}
if (mode != VOIDmode && GET_MODE (op) != mode)