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
6e290f11
Commit
6e290f11
authored
Jan 26, 2004
by
Fariborz Jahanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not assign long long argument to memory in prologue if loaded in register.
OKed by Richard Henderson. From-SVN: r76648
parent
c353b8e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/function.c
+4
-1
No files found.
gcc/function.c
View file @
6e290f11
...
...
@@ -4374,6 +4374,7 @@ assign_parms (tree fndecl)
int
in_regs
;
int
partial
=
0
;
int
pretend_bytes
=
0
;
int
loaded_in_reg
=
0
;
/* Set LAST_NAMED if this is last named arg before last
anonymous args. */
...
...
@@ -4745,6 +4746,7 @@ assign_parms (tree fndecl)
emit_group_store
(
parmreg
,
entry_parm
,
TREE_TYPE
(
parm
),
int_size_in_bytes
(
TREE_TYPE
(
parm
)));
SET_DECL_RTL
(
parm
,
parmreg
);
loaded_in_reg
=
1
;
if
(
regno
>=
max_parm_reg
)
{
...
...
@@ -4776,7 +4778,8 @@ assign_parms (tree fndecl)
Handle calls that pass values in multiple non-contiguous
locations. The Irix 6 ABI has examples of this. */
if
(
GET_CODE
(
entry_parm
)
==
REG
||
GET_CODE
(
entry_parm
)
==
PARALLEL
)
||
(
GET_CODE
(
entry_parm
)
==
PARALLEL
&&
(
!
loaded_in_reg
||
!
optimize
)))
{
int
size
=
int_size_in_bytes
(
TREE_TYPE
(
parm
));
int
size_stored
=
CEIL_ROUND
(
size
,
UNITS_PER_WORD
);
...
...
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