({un,}aligned_memory_operand): Check against hard_frame_pointer_rtx,
not frame_pointer_rtx. From-SVN: r7673
This commit is contained in:
parent
53693fe555
commit
c145e33de6
@ -419,7 +419,8 @@ aligned_memory_operand (op, mode)
|
|||||||
op = XEXP (op, 0);
|
op = XEXP (op, 0);
|
||||||
|
|
||||||
return (GET_CODE (op) == REG
|
return (GET_CODE (op) == REG
|
||||||
&& (REGNO (op) == STACK_POINTER_REGNUM || op == frame_pointer_rtx
|
&& (REGNO (op) == STACK_POINTER_REGNUM
|
||||||
|
|| op == hard_frame_pointer_rtx
|
||||||
|| (REGNO (op) >= FIRST_VIRTUAL_REGISTER
|
|| (REGNO (op) >= FIRST_VIRTUAL_REGISTER
|
||||||
&& REGNO (op) <= LAST_VIRTUAL_REGISTER)));
|
&& REGNO (op) <= LAST_VIRTUAL_REGISTER)));
|
||||||
}
|
}
|
||||||
@ -455,7 +456,8 @@ unaligned_memory_operand (op, mode)
|
|||||||
op = XEXP (op, 0);
|
op = XEXP (op, 0);
|
||||||
|
|
||||||
return (GET_CODE (op) != REG
|
return (GET_CODE (op) != REG
|
||||||
|| (REGNO (op) != STACK_POINTER_REGNUM && op != frame_pointer_rtx
|
|| (REGNO (op) != STACK_POINTER_REGNUM
|
||||||
|
&& op != hard_frame_pointer_rtx
|
||||||
&& (REGNO (op) < FIRST_VIRTUAL_REGISTER
|
&& (REGNO (op) < FIRST_VIRTUAL_REGISTER
|
||||||
|| REGNO (op) > LAST_VIRTUAL_REGISTER)));
|
|| REGNO (op) > LAST_VIRTUAL_REGISTER)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user