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
d083fbba
Commit
d083fbba
authored
May 04, 2009
by
Michael Eager
Committed by
Michael Eager
May 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TARGET_SINGLE_FLOAT check.
From-SVN: r147104
parent
ffef1219
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+5
-0
gcc/config/rs6000/rs6000.c
+2
-1
No files found.
gcc/ChangeLog
View file @
d083fbba
2009-05-04 Michael Eager <eager@eagercon.com>
2009-05-04 Michael Eager <eager@eagercon.com>
* config/rs6000/rs6000.c (rs6000_libcall_value): Add
TARGET_SINGLE_FLOAT check.
2009-05-04 Michael Eager <eager@eagercon.com>
* config/rs6000/xilinx.h: Add CPP_SPEC for -mxilinx-fpu options.
* config/rs6000/xilinx.h: Add CPP_SPEC for -mxilinx-fpu options.
2009-05-04 Michael Eager <eager@eagercon.com>
2009-05-04 Michael Eager <eager@eagercon.com>
...
...
gcc/config/rs6000/rs6000.c
View file @
d083fbba
...
@@ -22630,7 +22630,8 @@ rs6000_libcall_value (enum machine_mode mode)
...
@@ -22630,7 +22630,8 @@ rs6000_libcall_value (enum machine_mode mode)
/* _Decimal128 must use an even/odd register pair. */
/* _Decimal128 must use an even/odd register pair. */
regno
=
(
mode
==
TDmode
)
?
FP_ARG_RETURN
+
1
:
FP_ARG_RETURN
;
regno
=
(
mode
==
TDmode
)
?
FP_ARG_RETURN
+
1
:
FP_ARG_RETURN
;
else
if
(
SCALAR_FLOAT_MODE_P
(
mode
)
else
if
(
SCALAR_FLOAT_MODE_P
(
mode
)
&&
TARGET_HARD_FLOAT
&&
TARGET_FPRS
)
&&
TARGET_HARD_FLOAT
&&
TARGET_FPRS
&&
((
TARGET_SINGLE_FLOAT
&&
mode
==
SFmode
)
||
TARGET_DOUBLE_FLOAT
))
regno
=
FP_ARG_RETURN
;
regno
=
FP_ARG_RETURN
;
else
if
(
ALTIVEC_VECTOR_MODE
(
mode
)
else
if
(
ALTIVEC_VECTOR_MODE
(
mode
)
&&
TARGET_ALTIVEC
&&
TARGET_ALTIVEC_ABI
)
&&
TARGET_ALTIVEC
&&
TARGET_ALTIVEC_ABI
)
...
...
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