Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fda792c6
Commit
fda792c6
authored
Mar 02, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(i960_output_call_insn): Delete scratch_reg arg. Use r3 instead.
From-SVN: r3605
parent
b6744f97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
gcc/config/i960/i960.c
+5
-6
No files found.
gcc/config/i960/i960.c
View file @
fda792c6
...
...
@@ -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
""
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment