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
de3a68a1
Commit
de3a68a1
authored
Mar 04, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(significand_size): Don't test the modes, but their sizes.
From-SVN: r11415
parent
541180f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
gcc/real.c
+9
-6
No files found.
gcc/real.c
View file @
de3a68a1
/* real.c - implementation of REAL_ARITHMETIC, REAL_VALUE_ATOF,
/* real.c - implementation of REAL_ARITHMETIC, REAL_VALUE_ATOF,
and support for XFmode IEEE extended real floating point arithmetic.
and support for XFmode IEEE extended real floating point arithmetic.
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
Copyright (C) 1993, 1994, 1995
, 1996
Free Software Foundation, Inc.
Contributed by Stephen L. Moshier (moshier@world.std.com).
Contributed by Stephen L. Moshier (moshier@world.std.com).
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -6091,12 +6091,15 @@ significand_size (mode)
...
@@ -6091,12 +6091,15 @@ significand_size (mode)
enum
machine_mode
mode
;
enum
machine_mode
mode
;
{
{
switch
(
mode
)
/* Don't test the modes, but their sizes, lest this
code won't work for BITS_PER_UNIT != 8 . */
switch
(
GET_MODE_BITSIZE
(
mode
))
{
{
case
SFmode
:
case
32
:
return
24
;
return
24
;
case
DFmode
:
case
64
:
#if TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT
#if TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT
return
53
;
return
53
;
#else
#else
...
@@ -6111,9 +6114,9 @@ switch (mode)
...
@@ -6111,9 +6114,9 @@ switch (mode)
#endif
#endif
#endif
#endif
case
XFmode
:
case
96
:
return
64
;
return
64
;
case
TFmode
:
case
128
:
return
113
;
return
113
;
default
:
default
:
...
...
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