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
059c3d84
Commit
059c3d84
authored
Oct 23, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): In target code, move PARALLEL case above
target != case. From-SVN: r13010
parent
dd98f85c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
gcc/calls.c
+9
-9
No files found.
gcc/calls.c
View file @
059c3d84
...
...
@@ -2022,15 +2022,6 @@ expand_call (exp, target, ignore)
expr_size
(
exp
),
TYPE_ALIGN
(
TREE_TYPE
(
exp
))
/
BITS_PER_UNIT
);
}
else
if
(
target
&&
GET_MODE
(
target
)
==
TYPE_MODE
(
TREE_TYPE
(
exp
))
&&
GET_MODE
(
target
)
==
GET_MODE
(
valreg
))
/* TARGET and VALREG cannot be equal at this point because the latter
would not have REG_FUNCTION_VALUE_P true, while the former would if
it were referring to the same register.
If they refer to the same register, this move will be a no-op, except
when function inlining is being done. */
emit_move_insn
(
target
,
valreg
);
/* Handle calls that return values in multiple non-contiguous locations.
The Irix 6 ABI has examples of this. */
else
if
(
GET_CODE
(
valreg
)
==
PARALLEL
)
...
...
@@ -2045,6 +2036,15 @@ expand_call (exp, target, ignore)
emit_group_store
(
target
,
valreg
);
}
else
if
(
target
&&
GET_MODE
(
target
)
==
TYPE_MODE
(
TREE_TYPE
(
exp
))
&&
GET_MODE
(
target
)
==
GET_MODE
(
valreg
))
/* TARGET and VALREG cannot be equal at this point because the latter
would not have REG_FUNCTION_VALUE_P true, while the former would if
it were referring to the same register.
If they refer to the same register, this move will be a no-op, except
when function inlining is being done. */
emit_move_insn
(
target
,
valreg
);
else
if
(
TYPE_MODE
(
TREE_TYPE
(
exp
))
==
BLKmode
)
{
/* Some machines (the PA for example) want to return all small
...
...
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