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
1aa8bf84
Commit
1aa8bf84
authored
May 12, 1995
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OK, this is what I really wanted to install...
From-SVN: r9633
parent
ca01dc12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/config/i960/i960.c
+9
-3
No files found.
gcc/config/i960/i960.c
View file @
1aa8bf84
...
...
@@ -2110,10 +2110,13 @@ i960_output_double (file, value)
REAL_VALUE_TYPE
value
;
{
long
value_long
[
2
];
char
dstr
[
30
];
REAL_VALUE_TO_TARGET_DOUBLE
(
value
,
value_long
);
REAL_VALUE_TO_DECIMAL
(
value
,
"%.20g"
,
dstr
);
fprintf
(
file
,
"
\t
.word
\t
0x%08lx
\n\t
.word
\t
0x%08lx
\n
"
,
value_long
[
0
],
value_long
[
1
]);
fprintf
(
file
,
"
\t
.word
\t
0x%08lx
\
t\t
# %s
\
n\t
.word
\t
0x%08lx
\n
"
,
value_long
[
0
],
dstr
,
value_long
[
1
]);
}
void
...
...
@@ -2122,9 +2125,12 @@ i960_output_float (file, value)
REAL_VALUE_TYPE
value
;
{
long
value_long
;
char
dstr
[
30
];
REAL_VALUE_TO_TARGET_SINGLE
(
value
,
value_long
);
REAL_VALUE_TO_DECIMAL
(
value
,
"%.12g"
,
dstr
);
fprintf
(
file
,
"
\t
.word
\t
0x%08lx
\
n
"
,
value_long
);
fprintf
(
file
,
"
\t
.word
\t
0x%08lx
\
t\t
# %s (float)
\n
"
,
value_long
,
dstr
);
}
/* Return the number of bits that an object of size N bytes is aligned to. */
...
...
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