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
659d75b8
Commit
659d75b8
authored
Sep 22, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(FPROP): Recognize 80387 or 68881 XFmode format.
From-SVN: r5410
parent
0172ca3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
gcc/enquire.c
+13
-0
No files found.
gcc/enquire.c
View file @
659d75b8
...
...
@@ -29,6 +29,10 @@
Richard Stallman, May 93:
In F_check, check NO_LONG_DOUBLE_IO.
Changes by Stephen Moshier, installed Sep 93:
(FPROP): Recognize 80387 or 68881 XFmode format.
COMPILING
With luck and a following wind, just the following will work:
cc enquire.c -o enquire
...
...
@@ -2678,6 +2682,14 @@ int FPROP(bits_per_byte) int bits_per_byte; {
if
(
f_radix
!=
10
)
{
hidden
=
0
;
mantbits
=
floor_log
(
2
,
(
Long_double
)
f_radix
)
*
f_mant_dig
;
if
(
mantbits
==
64
&&
iexp
==
15
&&
f_max_exp
+
f_min_exp
>
0
/* ??? f_min_exp may be wrong. */
&&
mantbits
+
iexp
+
17
==
(
int
)
sizeof
(
Number
)
*
bits_per_byte
)
{
Vprintf
(
"%sArithmetic probably doesn't use a hidden bit%s
\n
"
,
co
,
oc
);
Vprintf
(
"%sIt's probably 80387 or 68881 extended real%s
\n
"
,
co
,
oc
);
goto
is_extended
;
}
if
(
mantbits
+
iexp
==
(
int
)
sizeof
(
Number
)
*
bits_per_byte
)
{
hidden
=
1
;
Vprintf
(
"%sArithmetic uses a hidden bit%s
\n
"
,
co
,
oc
);
...
...
@@ -2698,6 +2710,7 @@ int FPROP(bits_per_byte) int bits_per_byte; {
f_mant_dig
==
53
?
"double"
:
f_mant_dig
>
53
?
"extended"
:
"some"
,
oc
);
is_extended
:
if
(
f_rounds
!=
1
||
normal
)
{
Vprintf
(
"%s though "
,
co
);
if
(
f_rounds
!=
1
)
{
...
...
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