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
This commit is contained in:
Herman A.J. ten Brugge 2000-08-05 01:43:22 +02:00 committed by Michael Hayes
parent 4e1e54607b
commit 39c1728ea7
3 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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)]
""