Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alexbiehl-gc
GHC
Commits
e7b960d3
Commit
e7b960d3
authored
26 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-08-16 17:43:27 by sof]
Protect long long bits with HAVE_LONG_LONG
parent
840b444b
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ghc/includes/StgMacros.lh
+2
-0
2 additions, 0 deletions
ghc/includes/StgMacros.lh
ghc/includes/StgTypes.lh
+9
-7
9 additions, 7 deletions
ghc/includes/StgTypes.lh
with
11 additions
and
7 deletions
ghc/includes/StgMacros.lh
+
2
−
0
View file @
e7b960d3
...
...
@@ -1221,6 +1221,7 @@ PK_FLT(W_ p_src[])
#endif /* not __m68k__ */
#if HAVE_LONG_LONG
extern STG_INLINE
void
ASSIGN_Word64(W_ p_dest[], StgWord64 src)
...
...
@@ -1260,6 +1261,7 @@ PK_Int64(W_ p_src[])
y.iu.dlo = p_src[1];
return(y.i);
}
#endif
\end{code}
...
...
This diff is collapsed.
Click to expand it.
ghc/includes/StgTypes.lh
+
9
−
7
View file @
e7b960d3
...
...
@@ -247,6 +247,14 @@ typedef union __dt
unpacked_double du;
} double_thing;
typedef StgWord unpacked_float;
typedef union __ft
{ StgFloat f;
unpacked_float fu;
} float_thing;
#if HAVE_LONG_LONG
typedef union __it
{ StgInt64 i;
unpacked_double iu;
...
...
@@ -256,13 +264,7 @@ typedef union __wt
{ StgWord64 w;
unpacked_double wu;
} word64_thing;
typedef StgWord unpacked_float;
typedef union __ft
{ StgFloat f;
unpacked_float fu;
} float_thing;
#endif
\end{code}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment