diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-03-02 13:03:13 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-03-02 13:03:13 -0800 |
commit | fda792c6b67ea6b7d1e8b92b813b7f85e1d12f24 (patch) | |
tree | 914a9a133357b35bb797dd7d8f94407734b7dd66 /gcc | |
parent | b6744f97de92a964f6d3635d6b63050bf03c2bfd (diff) | |
download | gcc-fda792c6b67ea6b7d1e8b92b813b7f85e1d12f24.zip gcc-fda792c6b67ea6b7d1e8b92b813b7f85e1d12f24.tar.gz gcc-fda792c6b67ea6b7d1e8b92b813b7f85e1d12f24.tar.bz2 |
(i960_output_call_insn): Delete scratch_reg arg. Use r3 instead.
From-SVN: r3605
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i960/i960.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index 0c435d3..459a87a 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -1199,19 +1199,18 @@ i960_function_epilogue (file, size) /* Output code for a call insn. */ char * -i960_output_call_insn (target, argsize_rtx, arg_pointer, scratch_reg, insn) - register rtx target, argsize_rtx, arg_pointer, scratch_reg, insn; +i960_output_call_insn (target, argsize_rtx, arg_pointer, insn) + register rtx target, argsize_rtx, arg_pointer, insn; { int argsize = INTVAL (argsize_rtx); rtx nexti = next_real_insn (insn); - rtx operands[3]; + rtx operands[2]; operands[0] = target; operands[1] = arg_pointer; - operands[2] = scratch_reg; if (current_function_args_size != 0) - output_asm_insn ("mov g14,%2", operands); + output_asm_insn ("mov g14,r3", operands); if (argsize > 48) output_asm_insn ("lda %a1,g14", operands); @@ -1237,7 +1236,7 @@ i960_output_call_insn (target, argsize_rtx, arg_pointer, scratch_reg, insn) output_asm_insn ("callx %0", operands); if (current_function_args_size != 0) - output_asm_insn ("mov %2,g14", operands); + output_asm_insn ("mov r3,g14", operands); return ""; } |