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
930177d9
Commit
930177d9
authored
Nov 03, 2003
by
Alexander Kabaev
Committed by
Loren J. Rittle
Nov 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* real.c (encode_ieee_single): Ensure proper promotion.
From-SVN: r73232
parent
2b2de389
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/real.c
+2
-1
No files found.
gcc/ChangeLog
View file @
930177d9
2003-11-03 Alexander Kabaev <ak03@gte.com>
* real.c (encode_ieee_single): Ensure proper promotion.
2003-11-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
...
...
gcc/real.c
View file @
930177d9
...
...
@@ -2536,9 +2536,10 @@ encode_ieee_single (const struct real_format *fmt, long *buf,
const
REAL_VALUE_TYPE
*
r
)
{
unsigned
long
image
,
sig
,
exp
;
unsigned
long
sign
=
r
->
sign
;
bool
denormal
=
(
r
->
sig
[
SIGSZ
-
1
]
&
SIG_MSB
)
==
0
;
image
=
r
->
sign
<<
31
;
image
=
sign
<<
31
;
sig
=
(
r
->
sig
[
SIGSZ
-
1
]
>>
(
HOST_BITS_PER_LONG
-
24
))
&
0x7fffff
;
switch
(
r
->
class
)
...
...
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