diff options
| author | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-04 23:43:22 +0000 |
|---|---|---|
| committer | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-04 23:43:22 +0000 |
| commit | ebfa610c110f5385a130e74c3970fcbb7bc66b5e (patch) | |
| tree | 95f03d6c1e7bf5424e3623355a044bda79067ac6 | |
| parent | 7bfdfcdeb27a1563d5f0a5a573d1d50dad1d3404 (diff) | |
| download | ppe42-gcc-ebfa610c110f5385a130e74c3970fcbb7bc66b5e.tar.gz ppe42-gcc-ebfa610c110f5385a130e74c3970fcbb7bc66b5e.zip | |
2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* config/c4x/c4x.md (return_indirect_internal): New.
* config/c4x/c4x.c (c4x_expand_epilogue): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35497 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/c4x/c4x.c | 4 | ||||
| -rw-r--r-- | gcc/config/c4x/c4x.md | 7 |
3 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f56ef59434..2880934a5b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> + + * config/c4x/c4x.md (return_indirect_internal): New. + * config/c4x/c4x.c (c4x_expand_epilogue): Use it. + 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk> * c-common.c (time_char_table): Mark up formats added in C99 and diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index c8d865c4b63..49bfadc66a9 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -1165,8 +1165,8 @@ c4x_expand_epilogue() if (jump) { - insn = emit_insn (gen_indirect_jump ( - gen_rtx_REG (QImode, R2_REGNO))); + insn = emit_jump_insn (gen_return_indirect_internal + (gen_rtx_REG (QImode, R2_REGNO))); RTX_FRAME_RELATED_P (insn) = 1; } else diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md index 99ca228c65c..bd9cc964826 100644 --- a/gcc/config/c4x/c4x.md +++ b/gcc/config/c4x/c4x.md @@ -5249,6 +5249,13 @@ "nop") ; Default to misc type attr. +(define_insn "return_indirect_internal" + [(return) + (use (match_operand:QI 0 "reg_operand" ""))] + "reload_completed" + "bu%#\\t%0" + [(set_attr "type" "jump")]) + (define_expand "prologue" [(const_int 1)] "" |

