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
b7633ee3
Commit
b7633ee3
authored
Mar 01, 2012
by
Kai Tietz
Committed by
Kai Tietz
Mar 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
soft-fp: Imported from glibc upstream.
* soft-fp: Imported from glibc upstream. From-SVN: r184760
parent
5d9dc69a
Hide whitespace changes
Inline
Side-by-side
Showing
68 changed files
with
162 additions
and
217 deletions
+162
-217
libgcc/ChangeLog
+4
-0
libgcc/soft-fp/adddf3.c
+2
-3
libgcc/soft-fp/addsf3.c
+2
-4
libgcc/soft-fp/addtf3.c
+2
-3
libgcc/soft-fp/divdf3.c
+2
-3
libgcc/soft-fp/divsf3.c
+2
-3
libgcc/soft-fp/divtf3.c
+2
-3
libgcc/soft-fp/double.h
+5
-6
libgcc/soft-fp/eqdf2.c
+2
-3
libgcc/soft-fp/eqsf2.c
+2
-3
libgcc/soft-fp/eqtf2.c
+2
-3
libgcc/soft-fp/extenddftf2.c
+2
-3
libgcc/soft-fp/extended.h
+5
-6
libgcc/soft-fp/extendsfdf2.c
+2
-3
libgcc/soft-fp/extendsftf2.c
+2
-3
libgcc/soft-fp/fixdfdi.c
+2
-3
libgcc/soft-fp/fixdfsi.c
+2
-3
libgcc/soft-fp/fixsfdi.c
+2
-3
libgcc/soft-fp/fixsfsi.c
+2
-3
libgcc/soft-fp/fixtfdi.c
+2
-3
libgcc/soft-fp/fixtfsi.c
+2
-3
libgcc/soft-fp/fixunsdfdi.c
+2
-3
libgcc/soft-fp/fixunsdfsi.c
+2
-3
libgcc/soft-fp/fixunssfdi.c
+2
-3
libgcc/soft-fp/fixunssfsi.c
+2
-3
libgcc/soft-fp/fixunstfdi.c
+2
-3
libgcc/soft-fp/fixunstfsi.c
+2
-3
libgcc/soft-fp/floatdidf.c
+2
-3
libgcc/soft-fp/floatdisf.c
+2
-3
libgcc/soft-fp/floatditf.c
+2
-3
libgcc/soft-fp/floatsidf.c
+2
-3
libgcc/soft-fp/floatsisf.c
+2
-3
libgcc/soft-fp/floatsitf.c
+2
-3
libgcc/soft-fp/floatundidf.c
+2
-3
libgcc/soft-fp/floatundisf.c
+2
-3
libgcc/soft-fp/floatunditf.c
+2
-3
libgcc/soft-fp/floatunsidf.c
+2
-3
libgcc/soft-fp/floatunsisf.c
+2
-3
libgcc/soft-fp/floatunsitf.c
+2
-3
libgcc/soft-fp/gedf2.c
+2
-3
libgcc/soft-fp/gesf2.c
+2
-3
libgcc/soft-fp/getf2.c
+2
-3
libgcc/soft-fp/ledf2.c
+2
-3
libgcc/soft-fp/lesf2.c
+2
-3
libgcc/soft-fp/letf2.c
+3
-4
libgcc/soft-fp/muldf3.c
+2
-3
libgcc/soft-fp/mulsf3.c
+2
-3
libgcc/soft-fp/multf3.c
+2
-3
libgcc/soft-fp/negdf2.c
+2
-3
libgcc/soft-fp/negsf2.c
+2
-3
libgcc/soft-fp/negtf2.c
+2
-3
libgcc/soft-fp/op-1.h
+2
-3
libgcc/soft-fp/op-2.h
+2
-3
libgcc/soft-fp/op-4.h
+2
-3
libgcc/soft-fp/op-8.h
+2
-4
libgcc/soft-fp/op-common.h
+2
-3
libgcc/soft-fp/quad.h
+6
-7
libgcc/soft-fp/single.h
+4
-5
libgcc/soft-fp/soft-fp.h
+13
-4
libgcc/soft-fp/subdf3.c
+2
-3
libgcc/soft-fp/subsf3.c
+2
-3
libgcc/soft-fp/subtf3.c
+2
-3
libgcc/soft-fp/truncdfsf2.c
+2
-3
libgcc/soft-fp/trunctfdf2.c
+2
-3
libgcc/soft-fp/trunctfsf2.c
+2
-3
libgcc/soft-fp/unorddf2.c
+2
-3
libgcc/soft-fp/unordsf2.c
+2
-3
libgcc/soft-fp/unordtf2.c
+2
-3
No files found.
libgcc/ChangeLog
View file @
b7633ee3
2012-03-01 Kai Tietz <ktietz@redhat.com>
* soft-fp: Imported from glibc upstream.
2012-02-28 Kai Tietz <ktietz@redhat.com>
2012-02-28 Kai Tietz <ktietz@redhat.com>
* config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
* config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
...
...
libgcc/soft-fp/adddf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/addsf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
@@ -47,4 +46,3 @@ SFtype __addsf3(SFtype a, SFtype b)
...
@@ -47,4 +46,3 @@ SFtype __addsf3(SFtype a, SFtype b)
return
r
;
return
r
;
}
}
libgcc/soft-fp/addtf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/divdf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/divsf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/divtf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/double.h
View file @
b7633ee3
/* Software floating-point emulation.
/* Software floating-point emulation.
Definitions for IEEE Double Precision
Definitions for IEEE Double Precision
Copyright (C) 1997, 1998, 1999, 2006, 2007, 2008, 2009
Copyright (C) 1997, 1998, 1999, 2006, 2007, 2008, 2009
, 2012
Free Software Foundation, Inc.
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
Contributed by Richard Henderson (rth@cygnus.com),
...
@@ -28,9 +28,8 @@
...
@@ -28,9 +28,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#if _FP_W_TYPE_SIZE < 32
#if _FP_W_TYPE_SIZE < 32
#error "Here's a nickel kid. Go buy yourself a real computer."
#error "Here's a nickel kid. Go buy yourself a real computer."
...
@@ -68,7 +67,7 @@ typedef float DFtype __attribute__((mode(DF)));
...
@@ -68,7 +67,7 @@ typedef float DFtype __attribute__((mode(DF)));
union
_FP_UNION_D
union
_FP_UNION_D
{
{
DFtype
flt
;
DFtype
flt
;
struct
{
struct
_FP_STRUCT_LAYOUT
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned
sign
:
1
;
unsigned
sign
:
1
;
unsigned
exp
:
_FP_EXPBITS_D
;
unsigned
exp
:
_FP_EXPBITS_D
;
...
@@ -167,7 +166,7 @@ union _FP_UNION_D
...
@@ -167,7 +166,7 @@ union _FP_UNION_D
union
_FP_UNION_D
union
_FP_UNION_D
{
{
DFtype
flt
;
DFtype
flt
;
struct
{
struct
_FP_STRUCT_LAYOUT
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned
sign
:
1
;
unsigned
sign
:
1
;
unsigned
exp
:
_FP_EXPBITS_D
;
unsigned
exp
:
_FP_EXPBITS_D
;
...
...
libgcc/soft-fp/eqdf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/eqsf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/eqtf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/extenddftf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/extended.h
View file @
b7633ee3
/* Software floating-point emulation.
/* Software floating-point emulation.
Definitions for IEEE Extended Precision.
Definitions for IEEE Extended Precision.
Copyright (C) 1999,2006,2007 Free Software Foundation, Inc.
Copyright (C) 1999,2006,2007
,2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek (jj@ultra.linux.cz).
Contributed by Jakub Jelinek (jj@ultra.linux.cz).
...
@@ -24,9 +24,8 @@
...
@@ -24,9 +24,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#if _FP_W_TYPE_SIZE < 32
#if _FP_W_TYPE_SIZE < 32
#error "Here's a nickel, kid. Go buy yourself a real computer."
#error "Here's a nickel, kid. Go buy yourself a real computer."
...
@@ -64,7 +63,7 @@ typedef float XFtype __attribute__((mode(XF)));
...
@@ -64,7 +63,7 @@ typedef float XFtype __attribute__((mode(XF)));
union
_FP_UNION_E
union
_FP_UNION_E
{
{
XFtype
flt
;
XFtype
flt
;
struct
struct
_FP_STRUCT_LAYOUT
{
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned
long
pad1
:
_FP_W_TYPE_SIZE
;
unsigned
long
pad1
:
_FP_W_TYPE_SIZE
;
...
@@ -263,7 +262,7 @@ union _FP_UNION_E
...
@@ -263,7 +262,7 @@ union _FP_UNION_E
union
_FP_UNION_E
union
_FP_UNION_E
{
{
XFtype
flt
;
XFtype
flt
;
struct
{
struct
_FP_STRUCT_LAYOUT
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
_FP_W_TYPE
pad
:
(
_FP_W_TYPE_SIZE
-
1
-
_FP_EXPBITS_E
);
_FP_W_TYPE
pad
:
(
_FP_W_TYPE_SIZE
-
1
-
_FP_EXPBITS_E
);
unsigned
sign
:
1
;
unsigned
sign
:
1
;
...
...
libgcc/soft-fp/extendsfdf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/extendsftf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/fixdfdi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/fixdfsi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/fixsfdi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/fixsfsi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/fixtfdi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/fixtfsi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/fixunsdfdi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/fixunsdfsi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/fixunssfdi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/fixunssfsi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/fixunstfdi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/fixunstfsi.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/floatdidf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/floatdisf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/floatditf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/floatsidf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/floatsisf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/floatsitf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/floatundidf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/floatundisf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/floatunditf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/floatunsidf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/floatunsisf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/floatunsitf.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/gedf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/gesf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/getf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/ledf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/lesf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/letf2.c
View file @
b7633ee3
/* Software floating-point emulation.
/* Software floating-point emulation.
Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b
Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b
Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
Copyright (C) 1997,1999,2006
,2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com) and
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
Jakub Jelinek (jj@ultra.linux.cz).
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/muldf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/mulsf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/multf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/negdf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/negsf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/negtf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/op-1.h
View file @
b7633ee3
...
@@ -27,9 +27,8 @@
...
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#define _FP_FRAC_DECL_1(X) _FP_W_TYPE X##_f
#define _FP_FRAC_DECL_1(X) _FP_W_TYPE X##_f
#define _FP_FRAC_COPY_1(D,S) (D##_f = S##_f)
#define _FP_FRAC_COPY_1(D,S) (D##_f = S##_f)
...
...
libgcc/soft-fp/op-2.h
View file @
b7633ee3
...
@@ -27,9 +27,8 @@
...
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#define _FP_FRAC_DECL_2(X) _FP_W_TYPE X##_f0, X##_f1
#define _FP_FRAC_DECL_2(X) _FP_W_TYPE X##_f0, X##_f1
#define _FP_FRAC_COPY_2(D,S) (D##_f0 = S##_f0, D##_f1 = S##_f1)
#define _FP_FRAC_COPY_2(D,S) (D##_f0 = S##_f0, D##_f1 = S##_f1)
...
...
libgcc/soft-fp/op-4.h
View file @
b7633ee3
...
@@ -27,9 +27,8 @@
...
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#define _FP_FRAC_DECL_4(X) _FP_W_TYPE X##_f[4]
#define _FP_FRAC_DECL_4(X) _FP_W_TYPE X##_f[4]
#define _FP_FRAC_COPY_4(D,S) \
#define _FP_FRAC_COPY_4(D,S) \
...
...
libgcc/soft-fp/op-8.h
View file @
b7633ee3
...
@@ -26,9 +26,8 @@
...
@@ -26,9 +26,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
/* We need just a few things from here for op-4, if we ever need some
/* We need just a few things from here for op-4, if we ever need some
other macros, they can be added. */
other macros, they can be added. */
...
@@ -108,4 +107,3 @@
...
@@ -108,4 +107,3 @@
/* don't fix the LSB until the very end when we're sure f[0] is stable */
\
/* don't fix the LSB until the very end when we're sure f[0] is stable */
\
X##_f[0] |= (_s != 0); \
X##_f[0] |= (_s != 0); \
} while (0)
} while (0)
libgcc/soft-fp/op-common.h
View file @
b7633ee3
...
@@ -26,9 +26,8 @@
...
@@ -26,9 +26,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#define _FP_DECL(wc, X) \
#define _FP_DECL(wc, X) \
_FP_I_TYPE X##_c __attribute__((unused)), X##_s, X##_e; \
_FP_I_TYPE X##_c __attribute__((unused)), X##_s, X##_e; \
...
...
libgcc/soft-fp/quad.h
View file @
b7633ee3
/* Software floating-point emulation.
/* Software floating-point emulation.
Definitions for IEEE Quad Precision.
Definitions for IEEE Quad Precision.
Copyright (C) 1997,1998,1999,2006,2007 Free Software Foundation, Inc.
Copyright (C) 1997,1998,1999,2006,2007
,2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
Contributed by Richard Henderson (rth@cygnus.com),
Jakub Jelinek (jj@ultra.linux.cz),
Jakub Jelinek (jj@ultra.linux.cz),
...
@@ -27,9 +27,8 @@
...
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#if _FP_W_TYPE_SIZE < 32
#if _FP_W_TYPE_SIZE < 32
#error "Here's a nickel, kid. Go buy yourself a real computer."
#error "Here's a nickel, kid. Go buy yourself a real computer."
...
@@ -67,7 +66,7 @@ typedef float TFtype __attribute__((mode(TF)));
...
@@ -67,7 +66,7 @@ typedef float TFtype __attribute__((mode(TF)));
union
_FP_UNION_Q
union
_FP_UNION_Q
{
{
TFtype
flt
;
TFtype
flt
;
struct
struct
_FP_STRUCT_LAYOUT
{
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned
sign
:
1
;
unsigned
sign
:
1
;
...
@@ -171,10 +170,10 @@ union _FP_UNION_Q
...
@@ -171,10 +170,10 @@ union _FP_UNION_Q
union
_FP_UNION_Q
union
_FP_UNION_Q
{
{
TFtype
flt
/* __attribute__((mode(TF))) */
;
TFtype
flt
/* __attribute__((mode(TF))) */
;
struct
{
struct
_FP_STRUCT_LAYOUT
{
_FP_W_TYPE
a
,
b
;
_FP_W_TYPE
a
,
b
;
}
longs
;
}
longs
;
struct
{
struct
_FP_STRUCT_LAYOUT
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned
sign
:
1
;
unsigned
sign
:
1
;
unsigned
exp
:
_FP_EXPBITS_Q
;
unsigned
exp
:
_FP_EXPBITS_Q
;
...
...
libgcc/soft-fp/single.h
View file @
b7633ee3
/* Software floating-point emulation.
/* Software floating-point emulation.
Definitions for IEEE Single Precision.
Definitions for IEEE Single Precision.
Copyright (C) 1997,1998,1999,2006 Free Software Foundation, Inc.
Copyright (C) 1997,1998,1999,2006
,2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
Contributed by Richard Henderson (rth@cygnus.com),
Jakub Jelinek (jj@ultra.linux.cz),
Jakub Jelinek (jj@ultra.linux.cz),
...
@@ -27,9 +27,8 @@
...
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#if _FP_W_TYPE_SIZE < 32
#if _FP_W_TYPE_SIZE < 32
#error "Here's a nickel kid. Go buy yourself a real computer."
#error "Here's a nickel kid. Go buy yourself a real computer."
...
@@ -58,7 +57,7 @@ typedef float SFtype __attribute__((mode(SF)));
...
@@ -58,7 +57,7 @@ typedef float SFtype __attribute__((mode(SF)));
union
_FP_UNION_S
union
_FP_UNION_S
{
{
SFtype
flt
;
SFtype
flt
;
struct
{
struct
_FP_STRUCT_LAYOUT
{
#if __BYTE_ORDER == __BIG_ENDIAN
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned
sign
:
1
;
unsigned
sign
:
1
;
unsigned
exp
:
_FP_EXPBITS_S
;
unsigned
exp
:
_FP_EXPBITS_S
;
...
...
libgcc/soft-fp/soft-fp.h
View file @
b7633ee3
/* Software floating-point emulation.
/* Software floating-point emulation.
Copyright (C) 1997,1998,1999,2000,2002,2003,2005,2006
Copyright (C) 1997,1998,1999,2000,2002,2003,2005,2006
,2007,2012
Free Software Foundation, Inc.
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
Contributed by Richard Henderson (rth@cygnus.com),
...
@@ -27,9 +27,8 @@
...
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#ifndef SOFT_FP_H
#ifndef SOFT_FP_H
#define SOFT_FP_H
#define SOFT_FP_H
...
@@ -85,6 +84,16 @@
...
@@ -85,6 +84,16 @@
#define FP_EX_DENORM 0
#define FP_EX_DENORM 0
#endif
#endif
/* _FP_STRUCT_LAYOUT may be defined as an attribute to determine the
struct layout variant used for structures where bit-fields are used
to access specific parts of binary floating-point numbers. This is
required for systems where the default ABI uses struct layout with
differences in how consecutive bit-fields are laid out from the
default expected by soft-fp. */
#ifndef _FP_STRUCT_LAYOUT
#define _FP_STRUCT_LAYOUT
#endif
#ifdef _FP_DECL_EX
#ifdef _FP_DECL_EX
#define FP_DECL_EX \
#define FP_DECL_EX \
int _fex = 0; \
int _fex = 0; \
...
...
libgcc/soft-fp/subdf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/subsf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/subtf3.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
libgcc/soft-fp/truncdfsf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/trunctfdf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/trunctfsf2.c
View file @
b7633ee3
...
@@ -25,9 +25,8 @@
...
@@ -25,9 +25,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/unorddf2.c
View file @
b7633ee3
...
@@ -24,9 +24,8 @@
...
@@ -24,9 +24,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "double.h"
#include "double.h"
...
...
libgcc/soft-fp/unordsf2.c
View file @
b7633ee3
...
@@ -24,9 +24,8 @@
...
@@ -24,9 +24,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "single.h"
#include "single.h"
...
...
libgcc/soft-fp/unordtf2.c
View file @
b7633ee3
...
@@ -24,9 +24,8 @@
...
@@ -24,9 +24,8 @@
Lesser General Public License for more details.
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
License along with the GNU C Library; if not, see
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
<http://www.gnu.org/licenses/>. */
MA 02110-1301, USA. */
#include "soft-fp.h"
#include "soft-fp.h"
#include "quad.h"
#include "quad.h"
...
...
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