sof [Thu, 4 Feb 1999 08:15:44 +0000 (08:15 +0000)]
[project @ 1999-02-04 08:15:44 by sof]
- include mingw32 in the list of x86 platforms supported.
- weed out ecoff debug information.
sof [Wed, 3 Feb 1999 20:26:26 +0000 (20:26 +0000)]
[project @ 1999-02-03 20:26:26 by sof]
Drop uneccessary uses of lit-lits and primops
simonm [Wed, 3 Feb 1999 17:54:56 +0000 (17:54 +0000)]
[project @ 1999-02-03 17:54:56 by simonm]
Document memoisation library.
sewardj [Wed, 3 Feb 1999 17:08:44 +0000 (17:08 +0000)]
[project @ 1999-02-03 17:08:25 by sewardj]
Preliminary results of the merge of STG hugs and 990121. These files
will compile and link, but don't work yet.
sewardj [Wed, 3 Feb 1999 17:05:14 +0000 (17:05 +0000)]
[project @ 1999-02-03 17:05:14 by sewardj]
Renamed stg.h to backend.h.
sewardj [Wed, 3 Feb 1999 17:03:59 +0000 (17:03 +0000)]
[project @ 1999-02-03 17:03:34 by sewardj]
Changed file organisation of STGhugs to be more like that of
MPJ's 990121 (Hugs98 beta) release, making these files redundant.
simonm [Wed, 3 Feb 1999 16:54:02 +0000 (16:54 +0000)]
[project @ 1999-02-03 16:54:00 by simonm]
Add memo table library.
simonm [Wed, 3 Feb 1999 16:53:38 +0000 (16:53 +0000)]
[project @ 1999-02-03 16:53:38 by simonm]
Increase PrelPack stack size.
simonm [Wed, 3 Feb 1999 16:53:16 +0000 (16:53 +0000)]
[project @ 1999-02-03 16:53:16 by simonm]
Fix accidental defaulting to Integer in magnitude.
simonm [Wed, 3 Feb 1999 16:42:18 +0000 (16:42 +0000)]
[project @ 1999-02-03 16:42:18 by simonm]
Fix GC stats printing.
simonm [Wed, 3 Feb 1999 16:32:47 +0000 (16:32 +0000)]
[project @ 1999-02-03 16:32:47 by simonm]
Be more MBLOCK-friendly when allocating and resizing stacks. This
should reduce the memory footprint a bit.
simonm [Wed, 3 Feb 1999 09:08:01 +0000 (09:08 +0000)]
[project @ 1999-02-03 09:08:01 by simonm]
boundsOfByteArray --> boundsOfMutableByteArray
simonm [Tue, 2 Feb 1999 17:37:40 +0000 (17:37 +0000)]
[project @ 1999-02-02 17:37:39 by simonm]
Optimise take a little.
simonm [Tue, 2 Feb 1999 16:04:02 +0000 (16:04 +0000)]
[project @ 1999-02-02 16:04:02 by simonm]
Fix a couple of out-of-date things.
simonm [Tue, 2 Feb 1999 15:30:46 +0000 (15:30 +0000)]
[project @ 1999-02-02 15:30:45 by simonm]
Update new RTS options for the garbage collector.
simonm [Tue, 2 Feb 1999 14:40:46 +0000 (14:40 +0000)]
[project @ 1999-02-02 14:40:46 by simonm]
Mention 'finalise' and 'mkWeakNoFinaliser'.
simonm [Tue, 2 Feb 1999 14:21:34 +0000 (14:21 +0000)]
[project @ 1999-02-02 14:21:28 by simonm]
- Add ticky counter for total bytes copied during GC.
- Separate mutable list into two lists, a "mut once" list for
old generation indirections and MUT_CONS cells, and a "mut many"
list for mutable arrays, TSOs etc. Objects on the "mut once" list
will be eagerly promoted.
simonm [Tue, 2 Feb 1999 14:19:49 +0000 (14:19 +0000)]
[project @ 1999-02-02 14:19:49 by simonm]
Remove warnings in deRefWeakzh.
simonm [Tue, 2 Feb 1999 14:19:03 +0000 (14:19 +0000)]
[project @ 1999-02-02 14:19:02 by simonm]
- Add Weak.finalise
- Move some functions from PrelWeak to Weak.
simonm [Tue, 2 Feb 1999 14:17:45 +0000 (14:17 +0000)]
[project @ 1999-02-02 14:17:45 by simonm]
Fix NO_FINALISER test.
simonm [Tue, 2 Feb 1999 14:17:05 +0000 (14:17 +0000)]
[project @ 1999-02-02 14:17:05 by simonm]
Fix untested Weak changes yesterday.
sof [Tue, 2 Feb 1999 14:16:29 +0000 (14:16 +0000)]
[project @ 1999-02-02 14:16:28 by sof]
- define and use *_OPTS for the various sgmltools.
- acknowledge the existence of INSTALL_LIB_SCRIPTS.
sof [Tue, 2 Feb 1999 14:14:13 +0000 (14:14 +0000)]
[project @ 1999-02-02 14:14:11 by sof]
Updated and re-org'ed the library parts.
sof [Tue, 2 Feb 1999 13:26:31 +0000 (13:26 +0000)]
[project @ 1999-02-02 13:26:31 by sof]
- fixed Enum.fromEnumTo{Word32} to comply with H98 once again.
sof [Tue, 2 Feb 1999 13:24:52 +0000 (13:24 +0000)]
[project @ 1999-02-02 13:24:52 by sof]
- renamed boundsOfByteArray to boundsOfMutableByteArray.
(partly for consistency, partly to create a new Top 10 entry on
the list of long function names exported from lib/.)
- moved sizeofByteArray over to ByteArray
sof [Tue, 2 Feb 1999 13:21:59 +0000 (13:21 +0000)]
[project @ 1999-02-02 13:21:59 by sof]
- Added:
newByteArray :: Ix ix => (ix,ix) -> ST s (ByteArray ix)
boundsOfByteArray :: Ix ix => ByteArray ix -> (ix,ix)
sizeofByteArray :: Ix ix => ByteArray ix -> Int
plus defined Eq over ByteArrays.
sof [Tue, 2 Feb 1999 13:18:57 +0000 (13:18 +0000)]
[project @ 1999-02-02 13:18:57 by sof]
Moved boundsOfByteArray out into exts/
simonm [Tue, 2 Feb 1999 12:37:14 +0000 (12:37 +0000)]
[project @ 1999-02-02 12:37:14 by simonm]
Update for specialised closures (THUNK_n_p etc.)
simonm [Tue, 2 Feb 1999 12:36:09 +0000 (12:36 +0000)]
[project @ 1999-02-02 12:36:09 by simonm]
Print total memory in use as part of -ghc-timing output.
simonm [Mon, 1 Feb 1999 18:06:31 +0000 (18:06 +0000)]
[project @ 1999-02-01 18:06:31 by simonm]
- Add finalise#
- deRefWeak# becomes an inline primop.
simonm [Mon, 1 Feb 1999 18:05:35 +0000 (18:05 +0000)]
[project @ 1999-02-01 18:05:30 by simonm]
- Add finalise#
- Add mkWeakNoFinaliser
- Move deRefWeak# from an out-of-line primop to an inline one.
simonm [Mon, 1 Feb 1999 18:04:46 +0000 (18:04 +0000)]
[project @ 1999-02-01 18:04:46 by simonm]
Report actual amount of memory in use by the compiler in the
-Rghc-timing output.
simonm [Mon, 1 Feb 1999 14:31:34 +0000 (14:31 +0000)]
[project @ 1999-02-01 14:31:34 by simonm]
Fix two bugs in formatRealFloat.
simonm [Mon, 1 Feb 1999 10:33:18 +0000 (10:33 +0000)]
[project @ 1999-02-01 10:33:18 by simonm]
- Increase stack size for PrelPack.lhs
simonm [Mon, 1 Feb 1999 10:19:02 +0000 (10:19 +0000)]
[project @ 1999-02-01 10:19:02 by simonm]
Clarification about the root set and top-level objects for the
reachability property.
sof [Mon, 1 Feb 1999 10:02:18 +0000 (10:02 +0000)]
[project @ 1999-02-01 10:02:15 by sof]
H98 Prelude tweaks
simonm [Fri, 29 Jan 1999 13:52:09 +0000 (13:52 +0000)]
[project @ 1999-01-29 13:52:09 by simonm]
A couple of underscore got lost a long time ago.
simonm [Fri, 29 Jan 1999 13:42:26 +0000 (13:42 +0000)]
[project @ 1999-01-29 13:42:26 by simonm]
unwibble
simonm [Fri, 29 Jan 1999 11:49:31 +0000 (11:49 +0000)]
[project @ 1999-01-29 11:49:31 by simonm]
Zh --> zh
simonm [Fri, 29 Jan 1999 09:32:37 +0000 (09:32 +0000)]
[project @ 1999-01-29 09:32:37 by simonm]
zh --> Zh (for genSymZh and resetGenSymZh)
simonm [Fri, 29 Jan 1999 09:30:52 +0000 (09:30 +0000)]
[project @ 1999-01-29 09:30:51 by simonm]
zh --> Zh
simonpj [Thu, 28 Jan 1999 17:10:53 +0000 (17:10 +0000)]
[project @ 1999-01-28 17:10:52 by simonpj]
PrelInfo should define deRefStablePtr and friends to be in PrelStable
simonm [Thu, 28 Jan 1999 16:59:33 +0000 (16:59 +0000)]
[project @ 1999-01-28 16:59:33 by simonm]
Zh --> zh
simonpj [Thu, 28 Jan 1999 16:37:42 +0000 (16:37 +0000)]
[project @ 1999-01-28 16:37:41 by simonpj]
Add OccName.mkMethodOcc, whose absence broke nofib/spectral/fft2
simonm [Thu, 28 Jan 1999 15:04:02 +0000 (15:04 +0000)]
[project @ 1999-01-28 15:04:00 by simonm]
- Be a bit more accurate about +RTS -H<size>, now we attempt to estimate
the amount of memory that will be needed at the next GC based on
the amount of promotion going on, and adjust the size of the allocation
area appropriately.
- tidy up, move some stuff into Storage.c.
simonpj [Thu, 28 Jan 1999 14:22:17 +0000 (14:22 +0000)]
[project @ 1999-01-28 14:22:15 by simonpj]
Fix erroneous name-clash report when a module ends up importing itself (eg TcEnv)
simonm [Thu, 28 Jan 1999 13:03:02 +0000 (13:03 +0000)]
[project @ 1999-01-28 13:03:02 by simonm]
Remove unnecessary (and non-H98-friendly) import.
simonm [Thu, 28 Jan 1999 12:59:11 +0000 (12:59 +0000)]
[project @ 1999-01-28 12:59:11 by simonm]
Update to match .hi-boot file.
simonm [Thu, 28 Jan 1999 12:14:16 +0000 (12:14 +0000)]
[project @ 1999-01-28 12:14:16 by simonm]
Remove unprintable characters from module header.
simonpj [Thu, 28 Jan 1999 12:14:00 +0000 (12:14 +0000)]
[project @ 1999-01-28 12:14:00 by simonpj]
Fix missing dash in SimplCore.lhs, which resulted in bogus specialisations
simonm [Thu, 28 Jan 1999 12:12:17 +0000 (12:12 +0000)]
[project @ 1999-01-28 12:12:17 by simonm]
Several updates, mainly to the "heap objects" section.
simonpj [Thu, 28 Jan 1999 11:33:44 +0000 (11:33 +0000)]
[project @ 1999-01-28 11:33:42 by simonpj]
Remove unnecessary imports
simonpj [Thu, 28 Jan 1999 11:32:13 +0000 (11:32 +0000)]
[project @ 1999-01-28 11:32:11 by simonpj]
Wibble
simonpj [Thu, 28 Jan 1999 11:29:23 +0000 (11:29 +0000)]
[project @ 1999-01-28 11:29:23 by simonpj]
Changes for new z-encoding
simonpj [Thu, 28 Jan 1999 11:27:01 +0000 (11:27 +0000)]
[project @ 1999-01-28 11:27:01 by simonpj]
Changes to PrelGHC.hi-boot for new z-encoding
simonpj [Thu, 28 Jan 1999 09:43:39 +0000 (09:43 +0000)]
[project @ 1999-01-28 09:43:38 by simonpj]
Fix lost specialisations; a one-char change in Simplify.lhs
simonpj [Thu, 28 Jan 1999 09:20:07 +0000 (09:20 +0000)]
[project @ 1999-01-28 09:19:57 by simonpj]
Always inline nullary constructors. This makes a
difference in:
case x ># y of r {
True -> f1 r
False -> f2 r
}
The code generator currently has difficulty binding "r"
to the boolean result of the comparision (and the compiler
crashes). This fix substitutes for r, thus:
case x ># y of r {
True -> f1 True
False -> f2 False
}
Voila.
simonm [Wed, 27 Jan 1999 17:37:18 +0000 (17:37 +0000)]
[project @ 1999-01-27 17:37:18 by simonm]
Increase CmdLineOpts stack size.
simonpj [Wed, 27 Jan 1999 16:54:18 +0000 (16:54 +0000)]
[project @ 1999-01-27 16:54:18 by simonpj]
Undo bogus fix to CgCase.lhs
simonm [Wed, 27 Jan 1999 16:41:16 +0000 (16:41 +0000)]
[project @ 1999-01-27 16:41:14 by simonm]
Use the +RTS -H<size> flag as a "suggestion" to the garbage collector
to use that much heap. If you have plenty of memory, then saying
+RTS -H<large> will really help GC times.
simonpj [Wed, 27 Jan 1999 15:05:07 +0000 (15:05 +0000)]
[project @ 1999-01-27 15:05:07 by simonpj]
Add RdrName.lhs
simonpj [Wed, 27 Jan 1999 15:01:17 +0000 (15:01 +0000)]
[project @ 1999-01-27 15:01:03 by simonpj]
Haskell 98 updates
simonpj [Wed, 27 Jan 1999 14:52:25 +0000 (14:52 +0000)]
[project @ 1999-01-27 14:51:14 by simonpj]
Finally! This commits the ongoing saga of Simon's hygiene sweep
FUNCTIONALITY
~~~~~~~~~~~~~
a) The 'unused variable' warnings from the renamer work.
b) Better error messages here and there, esp type checker
c) Fixities for Haskell 98 (maybe I'd done that before)
d) Lazy reporting of name clashes for Haskell 98 (ditto)
HYGIENE
~~~~~~~
a) type OccName has its own module. OccNames are represented
by a single FastString, not three as in the last round. This
string is held in Z-encoded form; a decoding function decodes
for printing in user error messages. There's a nice tight
encoding for (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)
b) type Module is a proper ADT, in module OccName
c) type RdrName is a proper ADT, in its own module
d) type Name has a new, somwhat tidier, representation
e) much grunting in the renamer to get Provenances right.
This makes error messages look better (no spurious qualifiers)
simonm [Wed, 27 Jan 1999 12:11:26 +0000 (12:11 +0000)]
[project @ 1999-01-27 12:11:25 by simonm]
More missing files <sigh>
simonm [Wed, 27 Jan 1999 10:55:39 +0000 (10:55 +0000)]
[project @ 1999-01-27 10:55:39 by simonm]
import PrelStable to get StablePtrs.
simonm [Wed, 27 Jan 1999 10:12:35 +0000 (10:12 +0000)]
[project @ 1999-01-27 10:12:35 by simonm]
PrelForeign.StablePtr moved to PrelStable.
simonm [Wed, 27 Jan 1999 10:11:27 +0000 (10:11 +0000)]
[project @ 1999-01-27 10:11:27 by simonm]
Add missing file.
simonm [Tue, 26 Jan 1999 16:16:35 +0000 (16:16 +0000)]
[project @ 1999-01-26 16:16:19 by simonm]
- Add specialised closure types (CONSTR_p_n, THUNK_p_n, FUN_p_n)
- Add -T<n> RTS flag to specify the number of steps in younger generations.
simonm [Tue, 26 Jan 1999 14:18:38 +0000 (14:18 +0000)]
[project @ 1999-01-26 14:18:38 by simonm]
Add missing file.
simonm [Tue, 26 Jan 1999 14:04:46 +0000 (14:04 +0000)]
[project @ 1999-01-26 14:04:46 by simonm]
add missing file.
sof [Tue, 26 Jan 1999 13:07:39 +0000 (13:07 +0000)]
[project @ 1999-01-26 13:07:39 by sof]
Drop unused infix decl for 'thenMaybeL' - spotted by 4.02 renamer.
simonm [Tue, 26 Jan 1999 12:25:02 +0000 (12:25 +0000)]
[project @ 1999-01-26 12:24:57 by simonm]
More stable name additions/changes.
simonm [Tue, 26 Jan 1999 11:13:15 +0000 (11:13 +0000)]
[project @ 1999-01-26 11:12:41 by simonm]
- Add Stable Names
- Stable pointers and stable names are now both provided by the
"Stable" module in ghc/lib/exts. Documentation is updated, and Foriegn
still exports the stable pointer operations for backwards compatibility.
sof [Tue, 26 Jan 1999 10:41:20 +0000 (10:41 +0000)]
[project @ 1999-01-26 10:41:20 by sof]
ifdef fix
sof [Tue, 26 Jan 1999 09:59:19 +0000 (09:59 +0000)]
[project @ 1999-01-26 09:59:18 by sof]
Prepared to support i?86-*-mingw32
sof [Mon, 25 Jan 1999 14:02:03 +0000 (14:02 +0000)]
[project @ 1999-01-25 14:02:03 by sof]
Added indexStablePtrArray (moved over from MutableArray)
sof [Mon, 25 Jan 1999 14:00:46 +0000 (14:00 +0000)]
[project @ 1999-01-25 14:00:46 by sof]
Completeness job - added read and write ops for various sized Ints and Words.
sof [Mon, 25 Jan 1999 13:58:56 +0000 (13:58 +0000)]
[project @ 1999-01-25 13:58:55 by sof]
Added --> {Int,Word}# coercion functions to export list. For internal use only
simonm [Mon, 25 Jan 1999 12:01:21 +0000 (12:01 +0000)]
[project @ 1999-01-25 12:01:21 by simonm]
Avoid a couple of C compiler warnings.
sof [Mon, 25 Jan 1999 11:55:06 +0000 (11:55 +0000)]
[project @ 1999-01-25 11:55:06 by sof]
Added osf3 guess
sof [Mon, 25 Jan 1999 11:42:57 +0000 (11:42 +0000)]
[project @ 1999-01-25 11:42:51 by sof]
Tweaks to make the sources compilable again on osf3.2
sof [Mon, 25 Jan 1999 10:26:18 +0000 (10:26 +0000)]
[project @ 1999-01-25 10:26:18 by sof]
Added isEmptyChan
sof [Sun, 24 Jan 1999 14:44:01 +0000 (14:44 +0000)]
[project @ 1999-01-24 14:44:00 by sof]
Moved ST <--> IO coercion functions from IOExts to ST (and LazyST) docs.
sof [Sun, 24 Jan 1999 14:43:19 +0000 (14:43 +0000)]
[project @ 1999-01-24 14:43:19 by sof]
- Completed lists of coercion functions provided.
- Clarified what behaviour to expect from Enum instances.
sof [Sun, 24 Jan 1999 14:37:59 +0000 (14:37 +0000)]
[project @ 1999-01-24 14:37:59 by sof]
GhcReportCompiles: default is NO
sof [Sun, 24 Jan 1999 14:19:48 +0000 (14:19 +0000)]
[project @ 1999-01-24 14:18:55 by sof]
more updates
sof [Sun, 24 Jan 1999 14:00:14 +0000 (14:00 +0000)]
[project @ 1999-01-24 14:00:12 by sof]
Tidied up desugar warnings - will now print out patterns containing
infix constructors correctly.
sof [Sun, 24 Jan 1999 13:45:09 +0000 (13:45 +0000)]
[project @ 1999-01-24 13:45:05 by sof]
Updated desugaring reg. tests
sof [Sat, 23 Jan 1999 18:10:10 +0000 (18:10 +0000)]
[project @ 1999-01-23 18:10:00 by sof]
even more h98 updates, this time to codeGen tests
sof [Sat, 23 Jan 1999 18:07:59 +0000 (18:07 +0000)]
[project @ 1999-01-23 18:07:42 by sof]
updates and tweaks
sof [Sat, 23 Jan 1999 18:05:19 +0000 (18:05 +0000)]
[project @ 1999-01-23 18:05:12 by sof]
more h98 updates
sof [Sat, 23 Jan 1999 18:03:53 +0000 (18:03 +0000)]
[project @ 1999-01-23 18:03:40 by sof]
h98 updates
sof [Sat, 23 Jan 1999 18:02:59 +0000 (18:02 +0000)]
[project @ 1999-01-23 18:02:58 by sof]
Updated
sof [Sat, 23 Jan 1999 17:59:06 +0000 (17:59 +0000)]
[project @ 1999-01-23 17:57:35 by sof]
Updated for H98
sof [Sat, 23 Jan 1999 17:55:29 +0000 (17:55 +0000)]
[project @ 1999-01-23 17:55:26 by sof]
More Enum regression tests than you can shake a stick at.
sof [Sat, 23 Jan 1999 17:54:43 +0000 (17:54 +0000)]
[project @ 1999-01-23 17:54:42 by sof]
Updated to work with current sources
sof [Sat, 23 Jan 1999 17:53:28 +0000 (17:53 +0000)]
[project @ 1999-01-23 17:53:28 by sof]
Fixes to {word,int}64ToIntegerZh_fast
sof [Sat, 23 Jan 1999 17:52:21 +0000 (17:52 +0000)]
[project @ 1999-01-23 17:52:21 by sof]
docfix
sof [Sat, 23 Jan 1999 17:51:27 +0000 (17:51 +0000)]
[project @ 1999-01-23 17:51:27 by sof]
Added comment next to the I*_ macros to explain why having them
expand to use 'static' instead of 'extern' is a Really Bad Idea.
sof [Sat, 23 Jan 1999 17:48:23 +0000 (17:48 +0000)]
[project @ 1999-01-23 17:48:23 by sof]
integerToInt64Zh: didn't handle negative integers particularly well