Do not accept the IP register as a DFmode operand
From-SVN: r48914
This commit is contained in:
parent
54c5eaff95
commit
ab8081c171
@ -4,6 +4,8 @@
|
|||||||
to frame pointer initialisation instruction.
|
to frame pointer initialisation instruction.
|
||||||
(thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
|
(thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
|
||||||
initialisation instruction.
|
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>
|
2002-01-16 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
@ -3362,9 +3362,9 @@ soft_df_operand (op, mode)
|
|||||||
if (GET_CODE (op) == SUBREG)
|
if (GET_CODE (op) == SUBREG)
|
||||||
op = SUBREG_REG (op);
|
op = SUBREG_REG (op);
|
||||||
|
|
||||||
if (REGNO (op) == IP_REGNUM)
|
/* The IP register must not be used, since its higher
|
||||||
return FALSE;
|
numbered counterpart is 13 - the stack pointer. */
|
||||||
return TRUE;
|
return REGNO (op) != IP_REGNUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode != VOIDmode && GET_MODE (op) != mode)
|
if (mode != VOIDmode && GET_MODE (op) != mode)
|
||||||
@ -3401,9 +3401,9 @@ nonimmediate_soft_df_operand (op, mode)
|
|||||||
if (GET_CODE (op) == SUBREG)
|
if (GET_CODE (op) == SUBREG)
|
||||||
op = SUBREG_REG (op);
|
op = SUBREG_REG (op);
|
||||||
|
|
||||||
if (REGNO (op) == IP_REGNUM)
|
/* The IP register must not be used, since its higher
|
||||||
return FALSE;
|
numbered counterpart is 13 - the stack pointer. */
|
||||||
return TRUE;
|
return REGNO (op) != IP_REGNUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode != VOIDmode && GET_MODE (op) != mode)
|
if (mode != VOIDmode && GET_MODE (op) != mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user