diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-03 22:23:32 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-03 22:23:32 +0000 |
commit | 792005aed55b765a042ebd74a538c4e9447f099a (patch) | |
tree | 3f96cb5eb38eda11441400b36fe548ce0ee364c2 /gcc/config/sparc | |
parent | 667fed2f9f77284bffe19107853077b0f87f1c77 (diff) | |
download | gcc-792005aed55b765a042ebd74a538c4e9447f099a.tar.gz |
* final.c (output_in_slot): New global variable.
(final_scan_insn): Add new state '2' to the 'nopeepholes' parameter.
Pass 2 as 'nopeepholes' to self for insns in a SEQUENCE. Set
'output_in_slot' before invoking output_asm_insn.
(output_asm_insn): Add a space after the tab if 'output_in_slot'
is set.
* config/sparc/sparc.c (output_return): Pass 2 as 'nopeepholes' to
final_scan_insn.
(output_sibcall): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r-- | gcc/config/sparc/sparc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index ac1a4345a07..cf7ac040f3e 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -4707,7 +4707,7 @@ output_return (rtx insn) if (! delay) abort (); - final_scan_insn (delay, asm_out_file, 1, 0, 1, NULL); + final_scan_insn (delay, asm_out_file, 1, 0, 2, NULL); PATTERN (delay) = gen_blockage (); INSN_CODE (delay) = -1; } @@ -4756,7 +4756,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, 1, NULL); + final_scan_insn (delay, asm_out_file, 1, 0, 2, NULL); } else { @@ -4817,7 +4817,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, 1, NULL); + final_scan_insn (delay, asm_out_file, 1, 0, 2, NULL); PATTERN (delay) = gen_blockage (); INSN_CODE (delay) = -1; |