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
0adc764e
Commit
0adc764e
authored
Feb 21, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_toc): Use REAL_VALUE_* macros.
From-SVN: r8985
parent
8d800403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
gcc/config/rs6000/rs6000.c
+8
-7
No files found.
gcc/config/rs6000/rs6000.c
View file @
0adc764e
...
@@ -1996,17 +1996,18 @@ output_toc (file, x, labelno)
...
@@ -1996,17 +1996,18 @@ output_toc (file, x, labelno)
FP constants. */
FP constants. */
if
(
GET_CODE
(
x
)
==
CONST_DOUBLE
if
(
GET_CODE
(
x
)
==
CONST_DOUBLE
&&
GET_MODE
(
x
)
==
DFmode
&&
GET_MODE
(
x
)
==
DFmode
&&
TARGET_FLOAT_FORMAT
==
HOST_FLOAT_FORMAT
&&
BITS_PER_WORD
==
HOST_BITS_PER_INT
&&
!
(
TARGET_NO_FP_IN_TOC
&&
!
TARGET_MINIMAL_TOC
))
&&
!
(
TARGET_NO_FP_IN_TOC
&&
!
TARGET_MINIMAL_TOC
))
{
{
REAL_VALUE_TYPE
r
;
long
l
[
2
];
REAL_VALUE_FROM_CONST_DOUBLE
(
r
,
x
);
REAL_VALUE_TO_TARGET_DOUBLE
(
r
,
l
);
if
(
TARGET_MINIMAL_TOC
)
if
(
TARGET_MINIMAL_TOC
)
fprintf
(
file
,
"
\t
.long %d
\n\t
.long %d
\n
"
,
fprintf
(
file
,
"
\t
.long %ld
\n\t
.long %ld
\n
"
,
l
[
0
],
l
[
1
]);
CONST_DOUBLE_LOW
(
x
),
CONST_DOUBLE_HIGH
(
x
));
else
else
fprintf
(
file
,
"
\t
.tc FD_%x_%x[TC],%d,%d
\n
"
,
fprintf
(
file
,
"
\t
.tc FD_%lx_%lx[TC],%ld,%ld
\n
"
,
CONST_DOUBLE_LOW
(
x
),
CONST_DOUBLE_HIGH
(
x
),
l
[
0
],
l
[
1
],
l
[
0
],
l
[
1
]);
CONST_DOUBLE_LOW
(
x
),
CONST_DOUBLE_HIGH
(
x
));
return
;
return
;
}
}
else
if
(
GET_CODE
(
x
)
==
CONST_DOUBLE
&&
GET_MODE
(
x
)
==
SFmode
else
if
(
GET_CODE
(
x
)
==
CONST_DOUBLE
&&
GET_MODE
(
x
)
==
SFmode
...
...
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