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
f4ef129a
Commit
f4ef129a
authored
Jul 28, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(function_arg): Shift all structures less than 4 bytes,
not just those which are QImode or HImode. From-SVN: r5017
parent
f31870c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/config/mips/mips.c
+3
-2
No files found.
gcc/config/mips/mips.c
View file @
f4ef129a
...
...
@@ -2628,9 +2628,10 @@ function_arg (cum, mode, type, named)
last real argument, pass back a parallel vector holding each
of the adjustments. */
if
(
struct_p
&&
(
mode
==
QImode
||
mode
==
HImode
)
)
if
(
struct_p
&&
int_size_in_bytes
(
type
)
<
4
)
{
rtx
amount
=
GEN_INT
(
BITS_PER_WORD
-
GET_MODE_BITSIZE
(
mode
));
rtx
amount
=
GEN_INT
(
BITS_PER_WORD
-
int_size_in_bytes
(
type
)
*
BITS_PER_UNIT
);
rtx
reg
=
gen_rtx
(
REG
,
SImode
,
regbase
+
cum
->
arg_words
+
bias
);
cum
->
adjust
[
cum
->
num_adjusts
++
]
=
gen_ashlsi3
(
reg
,
reg
,
amount
);
}
...
...
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