diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-08 11:59:08 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-08 11:59:08 +0000 |
commit | a35b82b9b0cebf6bf7ed738ea5c0a4107defd799 (patch) | |
tree | 66cb206bc100a8a8cbb1dc898dd1bc50745ab7e6 /gcc/config/bfin/bfin.md | |
parent | 7baa3fb4cb203c907ec40ca7a17f4dd43be0f886 (diff) | |
download | gcc-a35b82b9b0cebf6bf7ed738ea5c0a4107defd799.tar.gz |
* config/bfin/bfin-protos.h (bfin_expand_epilogue): Add a third
argument of type bool.
* config/bfin/bfin.c (add_to_reg): Add epilogue_p as a fourth
argument. Safely select temporary P register according to it.
(do_link): Change call site of add_to_reg accordingly.
(do_unlink): Add epilogue_p as a fourth argument and pass it
to add_to_reg.
(expand_interrupt_handler_epilogue): Change call of do_unlink
accordingly.
(bfin_expand_prologue): Add a third argument sibcall_p.
* config/bfin/bfin.md (epilogue): Change call of
bfin_expand_epilogue accordingly.
(sibcall_epilogue): Likewise.
(eh_return_internal): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/bfin/bfin.md')
-rw-r--r-- | gcc/config/bfin/bfin.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md index 7b238c64982..630694a0f9c 100644 --- a/gcc/config/bfin/bfin.md +++ b/gcc/config/bfin/bfin.md @@ -2668,12 +2668,12 @@ (define_expand "epilogue" [(const_int 1)] "" - "bfin_expand_epilogue (1, 0); DONE;") + "bfin_expand_epilogue (1, 0, 0); DONE;") (define_expand "sibcall_epilogue" [(const_int 1)] "" - "bfin_expand_epilogue (0, 0); DONE;") + "bfin_expand_epilogue (0, 0, 1); DONE;") (define_expand "eh_return" [(unspec_volatile [(match_operand:SI 0 "register_operand" "")] @@ -2693,7 +2693,7 @@ "#" "reload_completed" [(const_int 1)] - "bfin_expand_epilogue (1, 1); DONE;") + "bfin_expand_epilogue (1, 1, 0); DONE;") (define_insn "link" [(set (mem:SI (plus:SI (reg:SI REG_SP) (const_int -4))) (reg:SI REG_RETS)) |