diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2004-07-09 11:35:48 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2004-07-09 09:35:48 +0000 |
commit | 854f240ee0246d13c0a471a1919003b462bde00b (patch) | |
tree | 6c30f3fae428bf0ddd28200d8231f1e32c60714b /gcc/config/sparc/sparc.c | |
parent | 2ad4dcf985bf7b87b56e31a4d7d1f878e8dcea78 (diff) | |
download | gcc-854f240ee0246d13c0a471a1919003b462bde00b.zip gcc-854f240ee0246d13c0a471a1919003b462bde00b.tar.gz gcc-854f240ee0246d13c0a471a1919003b462bde00b.tar.bz2 |
sparc.md (return): Rewrite length formula.
* config/sparc/sparc.md (return): Rewrite length formula.
* config/sparc/sparc.c (output_return): Pass 1 as 5th
argument to final_scan_insn when in a delay slot.
(output_sibcall): Likewise.
From-SVN: r84352
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r-- | gcc/config/sparc/sparc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 26c9e1e..cfaa34a 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -4553,7 +4553,7 @@ output_return (rtx insn) epilogue_renumber (&pat, 0); fprintf (asm_out_file, "\treturn\t%%i7+%d\n", sparc_skip_caller_unimp ? 12 : 8); - final_scan_insn (delay, asm_out_file, 1, 0, 0, NULL); + final_scan_insn (delay, asm_out_file, 1, 0, 1, NULL); } else { @@ -4614,7 +4614,7 @@ output_sibcall (rtx insn, rtx call_operand) output_asm_insn ("sethi\t%%hi(%a0), %%g1", operands); output_asm_insn ("jmp\t%%g1 + %%lo(%a0)", operands); - final_scan_insn (delay, asm_out_file, 1, 0, 0, NULL); + final_scan_insn (delay, asm_out_file, 1, 0, 1, NULL); PATTERN (delay) = gen_blockage (); INSN_CODE (delay) = -1; |