prologue.md (prologue_enter_16): Set FB to SP - 2.

* config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
	(prologue_enter_32): Set FB to SP - 4.

From-SVN: r141748
This commit is contained in:
Kevin Buettner 2008-11-10 20:37:14 +00:00 committed by Kevin Buettner
parent 600e668e9f
commit 286f9bea55
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-11-10 Kevin Buettner <kevinb@redhat.com>
* config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
(prologue_enter_32): Set FB to SP - 4.
2008-11-10 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB

View File

@ -35,7 +35,7 @@
[(set (mem:HI (plus:HI (reg:HI SP_REGNO) (const_int -2)))
(reg:HI FB_REGNO))
(set (reg:HI FB_REGNO)
(reg:HI SP_REGNO))
(plus:HI (reg:HI SP_REGNO) (const_int -2)))
(set (reg:HI SP_REGNO)
(minus:HI (reg:HI SP_REGNO)
(match_operand 0 "const_int_operand" "i")))
@ -54,7 +54,7 @@
[(set (mem:SI (plus:PSI (reg:PSI SP_REGNO) (const_int -4)))
(reg:SI FB_REGNO))
(set (reg:PSI FB_REGNO)
(reg:PSI SP_REGNO))
(plus:PSI (reg:PSI SP_REGNO) (const_int -4)))
(set (reg:PSI SP_REGNO)
(minus:PSI (reg:PSI SP_REGNO)
(match_operand 0 "const_int_operand" "i")))