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
efcedf42
Commit
efcedf42
authored
Oct 22, 1996
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mips_function_value for TARGET_SINGLE_FLOAT.
From-SVN: r12996
parent
5100ad46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
gcc/config/mips/mips.c
+9
-1
No files found.
gcc/config/mips/mips.c
View file @
efcedf42
...
...
@@ -5894,7 +5894,15 @@ mips_function_value (valtype, func)
/* ??? How should we return complex float? */
if
(
mclass
==
MODE_FLOAT
||
mclass
==
MODE_COMPLEX_FLOAT
)
reg
=
FP_RETURN
;
{
if
(
TARGET_SINGLE_FLOAT
&&
(
mclass
==
MODE_FLOAT
?
GET_MODE_SIZE
(
mode
)
>
4
:
GET_MODE_SIZE
(
mode
)
/
2
>
4
))
reg
=
GP_RETURN
;
else
reg
=
FP_RETURN
;
}
else
if
(
TREE_CODE
(
valtype
)
==
RECORD_TYPE
&&
mips_abi
!=
ABI_32
&&
mips_abi
!=
ABI_EABI
)
{
...
...
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