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
8ddae348
Commit
8ddae348
authored
May 30, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(significand_size): New function.
From-SVN: r7387
parent
a48fb61b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
1 deletions
+39
-1
gcc/real.c
+39
-1
No files found.
gcc/real.c
View file @
8ddae348
...
...
@@ -5922,5 +5922,43 @@ esqrt (x, y)
emdnorm
(
sq
,
k
,
0
,
exp
,
64
);
emovo
(
sq
,
y
);
}
#endif
/* EMU_NON_COMPILE not defined */
/* Return the binary precision of the significand for a given
floating point mode. The mode can hold an integer value
that many bits wide, without losing any bits. */
int
significand_size
(
mode
)
enum
machine_mode
mode
;
{
switch
(
mode
)
{
case
SFmode
:
return
24
;
case
DFmode
:
#if TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT
return
53
;
#else
#if TARGET_FLOAT_FORMAT == IBM_FLOAT_FORMAT
return
56
;
#else
#if TARGET_FLOAT_FORMAT == VAX_FLOAT_FORMAT
return
56
;
#else
abort
();
#endif
#endif
#endif
case
XFmode
:
return
64
;
case
TFmode
:
return
113
;
default
:
abort
();
}
}
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