Commit 39c1728e by Herman A.J. ten Brugge Committed by Michael Hayes

c4x.md (return_indirect_internal): New.

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.

From-SVN: r35497
parent 4e1e5460
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
......
......@@ -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
......
......@@ -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)]
""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment