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
9224220f
Commit
9224220f
authored
Jun 01, 1998
by
Michael Meissner
Committed by
Michael Meissner
Jun 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix IEEE negative zero problems
From-SVN: r20169
parent
36f5cda0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
gcc/ChangeLog
+5
-0
gcc/config/fp-bit.c
+8
-2
No files found.
gcc/ChangeLog
View file @
9224220f
Mon Jun 1 12:14:28 1998 Michael Meissner <meissner@cygnus.com>
* config/fp-bit.c (_fp{add,div}_parts): Return correct IEEE result
in the presence of IEEE negative 0's.
Sun May 31 16:11:41 1998 John Wehle (john@feith.com)
* reload.c (find_reloads): Record the existing mode if
...
...
gcc/config/fp-bit.c
View file @
9224220f
/* This is a software floating point library which can be used instead of
the floating point routines in libgcc1.c for targets without hardware
floating point.
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Copyright (C) 1994, 1995, 1996, 1997
, 1998
Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
...
...
@@ -663,6 +663,12 @@ _fpadd_parts (fp_number_type * a,
}
if
(
iszero
(
b
))
{
if
(
iszero
(
a
))
{
*
tmp
=
*
a
;
tmp
->
sign
=
a
->
sign
&
b
->
sign
;
return
tmp
;
}
return
a
;
}
if
(
iszero
(
a
))
...
...
@@ -1028,7 +1034,7 @@ _fpdiv_parts (fp_number_type * a,
if
(
iszero
(
b
))
{
a
->
class
=
CLASS_INFINITY
;
return
b
;
return
a
;
}
/* Calculate the mantissa by multiplying both 64bit numbers to get a
...
...
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