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
fb63c729
Commit
fb63c729
authored
Mar 30, 2005
by
Alan Modra
Committed by
Alan Modra
Mar 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Update comments.
From-SVN: r97242
parent
f0078f86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
gcc/ChangeLog
+2
-0
gcc/config/rs6000/rs6000.c
+8
-7
No files found.
gcc/ChangeLog
View file @
fb63c729
2005-03-30 Alan Modra <amodra@bigpond.net.au>
2005-03-30 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Update comments.
* calls.c (struct arg_data): Update "partial" comment.
* calls.c (struct arg_data): Update "partial" comment.
(load_register_parameters): Update "nregs" comment.
(load_register_parameters): Update "nregs" comment.
...
...
gcc/config/rs6000/rs6000.c
View file @
fb63c729
...
@@ -4957,10 +4957,10 @@ function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
...
@@ -4957,10 +4957,10 @@ function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
}
}
/* For an arg passed partly in registers and partly in memory, this is
/* For an arg passed partly in registers and partly in memory, this is
the number of
registers used. For args passed entirely in registers
the number of
bytes passed in registers. For args passed entirely in
or entirely in memory, zero. When an arg is described by a PARALLEL,
registers or entirely in memory, zero. When an arg is described by a
perhaps using more than one register type, this function returns the
PARALLEL, perhaps using more than one register type, this function
number of bytes of registers used by
the PARALLEL. */
returns the number of bytes used by the first element of
the PARALLEL. */
static
int
static
int
rs6000_arg_partial_bytes
(
CUMULATIVE_ARGS
*
cum
,
enum
machine_mode
mode
,
rs6000_arg_partial_bytes
(
CUMULATIVE_ARGS
*
cum
,
enum
machine_mode
mode
,
...
@@ -4985,9 +4985,10 @@ rs6000_arg_partial_bytes (CUMULATIVE_ARGS *cum, enum machine_mode mode,
...
@@ -4985,9 +4985,10 @@ rs6000_arg_partial_bytes (CUMULATIVE_ARGS *cum, enum machine_mode mode,
align_words
=
rs6000_parm_start
(
mode
,
type
,
cum
->
words
);
align_words
=
rs6000_parm_start
(
mode
,
type
,
cum
->
words
);
if
(
USE_FP_FOR_ARG_P
(
cum
,
mode
,
type
)
if
(
USE_FP_FOR_ARG_P
(
cum
,
mode
,
type
)
/* If we are passing this arg in gprs as well, then this function
/* If we are passing this arg in the fixed parameter save area
should return the number of gprs (or memory) partially passed,
(gprs or memory) as well as fprs, then this function should
*not* the number of fprs. */
return the number of bytes passed in the parameter save area
rather than bytes passed in fprs. */
&&
!
(
type
&&
!
(
type
&&
(
cum
->
nargs_prototype
<=
0
&&
(
cum
->
nargs_prototype
<=
0
||
(
DEFAULT_ABI
==
ABI_AIX
||
(
DEFAULT_ABI
==
ABI_AIX
...
...
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