| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Remove all vestiges of INTERPRETER and __HUGS__.
|
|
|
|
|
| |
Zap CRUDE_PROFILING. It was there mainly to test assess the effect of
the simplifier; is redundant.
|
|
|
|
|
| |
Undefine NO_REGS. Seems unneccessary since the driver supplies it anyway
when compiling the RTS, and this duplicate defn generates a lot of warnings.
|
|
|
|
| |
Change NO_MACHREGS back to NO_REGS -- I misunderstood the problem.
|
|
|
|
|
| |
Changed NO_REGS to NO_MACHREGS to avoid inexplicable gcc warnings when
building the rts for Hugs.
|
|
|
|
|
| |
Clean up the storage manager a little, and reinstate the compile time
garbage collector. Then pray.
|
|
|
|
| |
Zap outdated ifdeffery.
|
|
|
|
|
|
|
| |
Second attack at supporting threads inside STG Hugs.
We now support most of the concurrency primitives.
Also a wibble in Evaluator.c, letting Hugs compile.
|
|
|
|
| |
Nuke a substantial number of no-longer-supported options.
|
|
|
|
|
|
|
|
| |
First stab at reviving TREX - just fixing some header wibbles. Also one small
fix to get implicit parameters working (`textOf' needed to be taught that
IPCELLs are also OK). Moved #defines for TREX, IPARAM, etc, into options.h
(in their previous location at the end of prelude.h, they were being defined
too late).
|
|
|
|
|
|
| |
Compilation cleanups:
* Add some prototypes to header files, to avoid compilation warnings.
* Remove irrelevant #ifdeffery (#if NPLUSK, + various others)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improving the synatax and semantics of the privileged import
Typical use might be:
import Prelude
import privileged Prelude ( IORef , unsafePerformIO )
Which means please ignore the export that comes with Prelude,
and let me at compiler internal magic operations, IORef and
unsafePerformIO (both are later exported by IOExt)
I've also updated the stdlib files to use this (hugs only :-).
|
|
|
|
|
| |
Adding prelude changes require for the new libs, include IOExts.
Reintroducing ptr equality into HugsSTG.
|
|
|
|
| |
Nuke PTR_ON_HEAP and all associated ifdeffery; we always need it.
|
|
|
|
| |
Change NUM_TUPLES to 37, to match GHC.
|
|
|
|
| |
Increase default c-t heap from 300000 to 350000 cells for nofib/real/anna.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make StgHugs use the same naming scheme as GHC does for class +
instance machinery.
Add machinery to do Z-encoding/decoding of names extracted from
interface files.
Make the ELF object loader work again. It seemed to have suffered
slight bitrot over the past couple of months. Fix various minor bugs.
Track a small change in interface file syntax.
Make Printer.c print tagged-unboxed stack sections in a decent way
now that Alastair-style stack tags have been abandoned.
|
|
|
|
|
| |
Nuke DEBUG_EXTRA once and for all, and make Hugs use the same stack
tags as GHC.
|
|
|
|
|
| |
Delete optimiser.c (the simplifier) and all supporting bits and
pieces.
|
|
|
|
|
| |
Decide to use or not use readline depending on the top-level
(fptools) configure machinery.
|
|
|
|
| |
Increase NUM_TEXT to 100000 so okeefe_neural will parse.
|
|
|
|
|
| |
Adding final diffs between Hugs98 (Jan99) and Hugs98 (Sep99)
manually to STG Hugs.
|
|
|
|
|
|
|
|
|
| |
(this is number 8 of 9 commits to be applied together)
The CPP flag LAZY_BLACKHOLING has been moved up from options.h into
Stg.h, so GHC can see it as well as the interpreter, and
EAGER_BLACKHOLING has been added. The default is still
LAZY_BLACKHOLING && !EAGER_BLACKHOLING.
|
|
|
|
| |
Further fixes to make -DDEBUG work right from mk/build.mk.
|
|
|
|
| |
Correctify usage of -DDEBUG and -DDEBUG_EXTRA.
|
|
|
|
|
|
|
|
|
| |
Changes to improve runtime performance of STG Hugs.
-- Reorganisation of the evaluator (Evaluator.c).
-- Changes to code emission (Assembler.c) to support peephole opts
-- An experimental simplifier (optimise.c).
-- Many supporting bug fixes and minor changes.
-- Experimental implementation of integer for standalone hugs (sainteger.c).
|
|
|
|
|
| |
Mods to make STG-hugs able to compile and run small examples. This
commit also includes proper implementations of seq, raise and catch.
|
|
|
|
| |
testing
|
|
Move 4.01 onto the main trunk.
|