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
bbaa9790
Commit
bbaa9790
authored
Mar 23, 2002
by
Alan Modra
Committed by
Alan Modra
Mar 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* real.h (N): Special case 128 bit doubles.
From-SVN: r51229
parent
ad42149c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/ChangeLog
+2
-0
gcc/real.h
+5
-0
No files found.
gcc/ChangeLog
View file @
bbaa9790
2002-03-23 Alan Modra <amodra@bigpond.net.au>
* real.h (N): Special case 128 bit doubles.
* combine.c (simplify_comparison): When widening modes, ignore
sign extension on CONST_INTs.
...
...
gcc/real.h
View file @
bbaa9790
...
...
@@ -77,7 +77,12 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* REAL_VALUE_TYPE is an array of the minimum number of HOST_WIDE_INTs
required to hold MAX_LONG_DOUBLE_TYPE_SIZE bits. */
#if MAX_LONG_DOUBLE_TYPE_SIZE == 128
/* For 128 bit reals, we calculate internally with extra precision. */
#define N (160 / BITS_PER_UNIT)
#else
#define N (MAX_LONG_DOUBLE_TYPE_SIZE / BITS_PER_UNIT)
#endif
#define S sizeof (HOST_WIDE_INT)
typedef
struct
{
HOST_WIDE_INT
r
[
N
/
S
+
(
N
%
S
?
1
:
0
)];
/* round up */
...
...
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