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
26725434
Commit
26725434
authored
Mar 16, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Mar 16, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce NO_DENORMALS in fp-bit.c
From-SVN: r32590
parent
22eb7dfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
gcc/ChangeLog
+3
-0
gcc/config/fp-bit.c
+7
-2
No files found.
gcc/ChangeLog
View file @
26725434
2000
-
03
-
16
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
2000
-
03
-
16
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
fp
-
bit
.
c
(
_unpack_d
)
:
If
NO_DENORMALS
is
defined
,
anything
that
has
exponent
0
is
a
zero
.
*
simplify
-
rtx
.
c
(
hash_rtx
,
case
MEM
/
REG
):
Take
into
account
that
*
simplify
-
rtx
.
c
(
hash_rtx
,
case
MEM
/
REG
):
Take
into
account
that
HASH
may
already
be
nonzero
.
Add
code
/
mode
into
hash
value
HASH
may
already
be
nonzero
.
Add
code
/
mode
into
hash
value
immediately
after
repeat
label
.
immediately
after
repeat
label
.
...
...
gcc/config/fp-bit.c
View file @
26725434
...
@@ -113,7 +113,8 @@ Boston, MA 02111-1307, USA. */
...
@@ -113,7 +113,8 @@ Boston, MA 02111-1307, USA. */
US Software goFast library. If this is not defined, the entry points use
US Software goFast library. If this is not defined, the entry points use
the same names as libgcc1.c.
the same names as libgcc1.c.
_DEBUG_BITFLOAT: This makes debugging the code a little easier, by adding
_DEBUG_BITFLOAT: This makes debugging the code a little easier, by adding
two integers to the FLO_union_type.
two integers to the FLO_union_type.
NO_DENORMALS: Disable handling of denormals.
NO_NANS: Disable nan and infinity handling
NO_NANS: Disable nan and infinity handling
SMALL_MACHINE: Useful when operations on QIs and HIs are faster
SMALL_MACHINE: Useful when operations on QIs and HIs are faster
than on an SI */
than on an SI */
...
@@ -615,7 +616,11 @@ unpack_d (FLO_union_type * src, fp_number_type * dst)
...
@@ -615,7 +616,11 @@ unpack_d (FLO_union_type * src, fp_number_type * dst)
if
(
exp
==
0
)
if
(
exp
==
0
)
{
{
/* Hmm. Looks like 0 */
/* Hmm. Looks like 0 */
if
(
fraction
==
0
)
if
(
fraction
==
0
#ifdef NO_DENORMALS
||
1
#endif
)
{
{
/* tastes like zero */
/* tastes like zero */
dst
->
class
=
CLASS_ZERO
;
dst
->
class
=
CLASS_ZERO
;
...
...
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