- Nov 11, 1999
-
-
Julian Seward authored
Print float/double literals correctly in error messages.
-
Simon Marlow authored
grrr, back out changes that snuck in with previous commit.
-
Simon Marlow authored
Integer divMod now uses the native GMP method. The PrimOp was already there, it just wasn't being used.
-
Simon Marlow authored
Remove old Spix stuff, replace with shiny new support for Julian's CacheProf stuff. yay!
-
Simon Marlow authored
avoid those annoying -0.00 times.
-
Simon Marlow authored
oops, use the correct type
-
Simon Marlow authored
forgot type in parameter list
-
- Nov 10, 1999
-
-
AndyGill authored
Adding Int8,16,32,64 into Hugs. These changes are based on the current (Sep99 Hugs) version of Word. The GHC parts should be unchanged.
-
- Nov 09, 1999
-
-
Simon Marlow authored
Fix up some problems with the IN_STG_CODE macro.
-
Simon Marlow authored
A slew of SMP-related changes. - New locking scheme for thunks: we now check whether the thunk being entered is in our private allocation area, and if so we don't lock it. Well, that's the upshot. In practice it's a lot more fiddly than that. - I/O blocking is handled a bit more sanely now (but still not properly, methinks) - deadlock detection is back - remove old pre-SMP scheduler code - revamp the timing code. We actually get reasonable-looking timing info for SMP programs now. - fix a bug in the garbage collector to do with IND_OLDGENs appearing on the mutable list of the old generation. - move BDescr() function from rts/BlockAlloc.h to includes/Block.h. - move struct generation and struct step into includes/StgStorage.h (sigh) - add UPD_IND_NOLOCK for updating with an indirection where locking the black hole is not required.
-
Simon Marlow authored
Test for lit-lits in patterns.
-
Simon Marlow authored
Fixes to Simon's lit-lit pattern commit
-
Simon Marlow authored
Reset standard file descriptors to blocking mode on exit.
-
Julian Seward authored
mulIntCzh (i386_TARGET_ARCH): xor --> xorl
-
AndyGill authored
Debugging wibble.
-
AndyGill authored
This is to fix the following bugs: Reported by Description ---------------------------------------------------------------------- Various cutoff value for -c option seems too low. Andy weirdness with :i C if C is a zero parameter class. Ross Paterson Problem with rank 2 parameters and "Showable" class. Jeff Stronger static checking on instances for classes with functional dependencies.
-
Kevin Glynn authored
Support for negative timings in the stats file. (I've seen times of -0.00). If a timing is negative then set it to 0.
-
- Nov 08, 1999
-
-
Simon Peyton Jones authored
Deal better with lit-lit pats
-
Simon Marlow authored
basck out previous change; Simon is working on a more correct fix
-
Simon Marlow authored
Don't allow litlits in patterns.
-
Julian Seward authored
Make Hugs evaluator work with new register table arrangements arising from Simon's SMP work.
-
Simon Marlow authored
Undo previous misguided commit by me
-
- Nov 05, 1999
-
-
Simon Marlow authored
Handle potentially blocking writes (yes, I've seen one :) Or rather, its footprint: unfortunately, the error message didn't appear because writes to stderr were returning EAGAIN etc. etc., see accompanying commit to writeError.c.)
-
Simon Marlow authored
Clear the non-blocking flag on stderr before trying to print an error message.
-
Simon Marlow authored
_ccall_GC wibbles
-
Simon Marlow authored
Allow this syntax on the lhs: (e1 `op` e2) e3 = ... (bug reported by Ralf Hinze). Add a test for it.
-
- Nov 04, 1999
-
-
Julian Seward authored
Fix wibble in setting of HappyCmd.
-
Simon Marlow authored
Fix call to StgRun
-
AndyGill authored
Modifing these libs so that they also work with StgHugs.
-
- Nov 03, 1999
-
-
AndyGill authored
Adding Word8,16,32,64 into Hugs. These changes are based on the current (Sep99 Hugs) version of Word. The GHC parts should be unchanged.
-
Simon Marlow authored
- don't hold the scheduler lock while doing the select, since we might sit in there for a long time. - don't need the gettimeofday() hack on Linux, because select already returns the unslept time.
-
Simon Marlow authored
remove bogus #include
-
Simon Marlow authored
Add basereg argument to StgRun (not currently handled by anything except the x86 code, which means SMP only works on x86 at the moment).
-
- Nov 02, 1999
-
-
Simon Marlow authored
Time the shutdown code as well as the initialisation code. This figure is sometimes significant for SMP, because the tasks are all killed by a signal (at the moment) and it might take a while for the signal to be delivered.
-
Simon Marlow authored
Fix CAF_BLACKHOLE and BLACKHOLE_BQ entry code for SMP case (it was going into a busy locking state through comparing against the wrong info pointer)
-
Simon Marlow authored
Remove accidental wibble that made it in with the last commit
-
Simon Marlow authored
make the prototypes of suspendThread and resumeThread available to the RTS.
-
Simon Marlow authored
This commit adds in the current state of our SMP support. Notably, this allows the new way 's' to be built, providing support for running multiple Haskell threads simultaneously on top of any pthreads implementation, the idea being to take advantage of commodity SMP boxes. Don't expect to get much of a speedup yet; due to the excessive locking required to synchronise access to mutable heap objects, you'll see a slowdown in most cases, even on a UP machine. The best I've seen is a 1.6-1.7 speedup on an example that did no locking (two optimised nfibs in parallel). - new RTS -N flag specifies how many pthreads to start. - new driver -smp flag, tells the driver to use way 's'. - new compiler -fsmp option (not for user comsumption) tells the compiler not to generate direct jumps to thunk entry code. - largely rewritten scheduler - _ccall_GC is now done by handing back a "token" to the RTS before executing the ccall; it should now be possible to execute blocking ccalls in the current thread while allowing the RTS to continue running Haskell threads as normal. - you can only call thread-safe C libraries from a way 's' build, of course. Pthread support is still incomplete, and weird things (including deadlocks) are likely to happen.
-
sof authored
expected output
-
Simon Marlow authored
Add simple "raw" style callback example (i.e. not using the FFI). Just for testing _ccall_GC really.
-