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
8159dc20
Commit
8159dc20
authored
Oct 31, 2003
by
Fariborz Jahanian
Committed by
David Edelsohn
Oct 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add UNITS_PER_ARG missed in patch.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r73152
parent
b78d48dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+2
-0
gcc/config/rs6000/rs6000.h
+4
-2
No files found.
gcc/ChangeLog
View file @
8159dc20
...
...
@@ -6,6 +6,8 @@
(rs6000_function_value): Widen integral return value to mode based
on TARGET_32BIT, not word_mode.
* config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
(UNITS_PER_ARG): New.
(RS6000_ARG_SIZE): Use it.
2003-10-31 Gerald Pfeifer <gerald@pfeifer.com>
...
...
gcc/config/rs6000/rs6000.h
View file @
8159dc20
...
...
@@ -1764,10 +1764,12 @@ typedef struct rs6000_args
/* Define intermediate macro to compute the size (in registers) of an argument
for the RS/6000. */
#define UNITS_PER_ARG (TARGET_32BIT ? 4 : 8)
#define RS6000_ARG_SIZE(MODE, TYPE) \
((MODE) != BLKmode \
? (GET_MODE_SIZE (MODE) + (UNITS_PER_
WORD - 1)) / UNITS_PER_WORD
\
: (int_size_in_bytes (TYPE) + (UNITS_PER_
WORD - 1)) / UNITS_PER_WORD
)
? (GET_MODE_SIZE (MODE) + (UNITS_PER_
ARG - 1)) / UNITS_PER_ARG
\
: (int_size_in_bytes (TYPE) + (UNITS_PER_
ARG - 1)) / UNITS_PER_ARG
)
/* Initialize a variable CUM of type CUMULATIVE_ARGS
for a call to a function whose data type is FNTYPE.
...
...
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