summaryrefslogtreecommitdiff
path: root/gcc/config/m32c
diff options
context:
space:
mode:
authorkevinb <kevinb@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-10 20:37:14 +0000
committerkevinb <kevinb@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-10 20:37:14 +0000
commit89eec96c821cf52cb4961916b67bae9b55128de5 (patch)
tree549ce1ce1cea34b6fdc448ee8220c5faeddc879b /gcc/config/m32c
parentb34423598600c34d80b9947dde7e450205dcef30 (diff)
downloadgcc-89eec96c821cf52cb4961916b67bae9b55128de5.tar.gz
* config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
(prologue_enter_32): Set FB to SP - 4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32c')
-rw-r--r--gcc/config/m32c/prologue.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/m32c/prologue.md b/gcc/config/m32c/prologue.md
index 25ac1c5b9a7..4784e71e131 100644
--- a/gcc/config/m32c/prologue.md
+++ b/gcc/config/m32c/prologue.md
@@ -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")))