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
e5eeae65
Commit
e5eeae65
authored
Jun 06, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_value_return): Handle PARALLEL return_reg.
From-SVN: r12192
parent
5c4cdc9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
gcc/stmt.c
+15
-0
No files found.
gcc/stmt.c
View file @
e5eeae65
...
...
@@ -2529,6 +2529,21 @@ expand_value_return (val)
if
(
GET_CODE
(
return_reg
)
==
REG
&&
REGNO
(
return_reg
)
<
FIRST_PSEUDO_REGISTER
)
emit_insn
(
gen_rtx
(
USE
,
VOIDmode
,
return_reg
));
/* Handle calls that return values in multiple non-contiguous locations.
The Irix 6 ABI has examples of this. */
else
if
(
GET_CODE
(
return_reg
)
==
PARALLEL
)
{
int
i
;
for
(
i
=
0
;
i
<
XVECLEN
(
return_reg
,
0
);
i
++
)
{
rtx
x
=
XEXP
(
XVECEXP
(
return_reg
,
0
,
i
),
0
);
if
(
GET_CODE
(
x
)
==
REG
&&
REGNO
(
x
)
<
FIRST_PSEUDO_REGISTER
)
emit_insn
(
gen_rtx
(
USE
,
VOIDmode
,
x
));
}
}
/* Does any pending block have cleanups? */
...
...
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