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
4f48d56a
Commit
4f48d56a
authored
Nov 14, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): If IS_CONST and VALREG == 0, end our sequence and emit
the insns. From-SVN: r8431
parent
e8031612
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
gcc/calls.c
+11
-2
No files found.
gcc/calls.c
View file @
4f48d56a
...
@@ -1624,10 +1624,11 @@ expand_call (exp, target, ignore)
...
@@ -1624,10 +1624,11 @@ expand_call (exp, target, ignore)
&&
args
[
i
].
mode
!=
BLKmode
&&
args
[
i
].
mode
!=
BLKmode
&&
rtx_cost
(
args
[
i
].
value
,
SET
)
>
2
&&
rtx_cost
(
args
[
i
].
value
,
SET
)
>
2
#ifdef SMALL_REGISTER_CLASSES
#ifdef SMALL_REGISTER_CLASSES
&&
(
reg_parm_seen
||
preserve_subexpressions_p
())
)
&&
(
reg_parm_seen
||
preserve_subexpressions_p
())
#else
#else
&&
preserve_subexpressions_p
()
)
&&
preserve_subexpressions_p
()
#endif
#endif
)
args
[
i
].
value
=
copy_to_mode_reg
(
args
[
i
].
mode
,
args
[
i
].
value
);
args
[
i
].
value
=
copy_to_mode_reg
(
args
[
i
].
mode
,
args
[
i
].
value
);
}
}
...
@@ -1909,6 +1910,14 @@ expand_call (exp, target, ignore)
...
@@ -1909,6 +1910,14 @@ expand_call (exp, target, ignore)
valreg
=
temp
;
valreg
=
temp
;
}
}
else
if
(
is_const
)
{
/* Otherwise, just write out the sequence without a note. */
rtx
insns
=
get_insns
();
end_sequence
();
emit_insns
(
insns
);
}
/* For calls to `setjmp', etc., inform flow.c it should complain
/* For calls to `setjmp', etc., inform flow.c it should complain
if nonvolatile values are live. */
if nonvolatile values are live. */
...
...
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