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
05ed1296
Commit
05ed1296
authored
Mar 24, 2002
by
Richard Henderson
Committed by
Richard Henderson
Mar 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mips.c (mips_function_value): Only promote_mode for non-libcalls.
From-SVN: r51276
parent
c9be3825
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/ChangeLog
+4
-0
gcc/config/mips/mips.c
+4
-4
No files found.
gcc/ChangeLog
View file @
05ed1296
2002-03-24 Richard Henderson <rth@redhat.com>
* mips.c (mips_function_value): Only promote_mode for non-libcalls.
2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
preprocessor/3951
...
...
gcc/config/mips/mips.c
View file @
05ed1296
...
...
@@ -7929,13 +7929,13 @@ mips_function_value (valtype, func, mode)
{
mode
=
TYPE_MODE
(
valtype
);
unsignedp
=
TREE_UNSIGNED
(
valtype
);
/* Since we define PROMOTE_FUNCTION_RETURN, we must promote
the mode just as PROMOTE_MODE does. */
mode
=
promote_mode
(
valtype
,
mode
,
&
unsignedp
,
1
);
}
mclass
=
GET_MODE_CLASS
(
mode
);
/* Since we define PROMOTE_FUNCTION_RETURN, we must promote the mode
just as PROMOTE_MODE does. */
mode
=
promote_mode
(
valtype
,
mode
,
&
unsignedp
,
1
);
if
(
mclass
==
MODE_FLOAT
&&
GET_MODE_SIZE
(
mode
)
<=
UNITS_PER_FPVALUE
)
reg
=
FP_RETURN
;
...
...
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