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
15769ca3
Commit
15769ca3
authored
Sep 18, 2002
by
Richard Henderson
Committed by
Richard Henderson
Sep 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* real.c (round_for_format): Collect sticky as unsigned long, not bool.
From-SVN: r57289
parent
678b7733
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/real.c
+3
-3
No files found.
gcc/ChangeLog
View file @
15769ca3
2002
-
09
-
18
Richard
Henderson
<
rth
@redhat
.
com
>
*
real
.
c
(
round_for_format
)
:
Collect
sticky
as
unsigned
long
,
not
bool
.
2002
-
09
-
19
Alan
Modra
<
amodra
@bigpond
.
net
.
au
>
*
config
/
rs6000
/
rs6000
.
md
:
(
floatdisf2
)
:
Rename
to
gcc/real.c
View file @
15769ca3
...
...
@@ -2121,7 +2121,8 @@ round_for_format (fmt, r)
struct
real_value
*
r
;
{
int
p2
,
np2
,
i
,
w
;
bool
sticky
,
guard
,
lsb
;
unsigned
long
sticky
;
bool
guard
,
lsb
;
int
emin2m1
,
emax2
;
p2
=
fmt
->
p
*
fmt
->
log2_b
;
...
...
@@ -2207,8 +2208,7 @@ round_for_format (fmt, r)
sticky
=
0
;
for
(
i
=
0
,
w
=
(
np2
-
1
)
/
HOST_BITS_PER_LONG
;
i
<
w
;
++
i
)
if
(
r
->
sig
[
i
])
sticky
=
1
;
sticky
|=
r
->
sig
[
i
];
sticky
|=
r
->
sig
[
w
]
&
(((
unsigned
long
)
1
<<
((
np2
-
1
)
%
HOST_BITS_PER_LONG
))
-
1
);
...
...
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