Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove empty dir | Simon Marlow | 2006-01-21 | 0 | -0/+0 |
| | |||||
* | rempve some unused files | Simon Marlow | 2006-01-21 | 68 | -1946/+0 |
| | |||||
* | Add stage2/ghci to ghc-api's import list. | Lemmih | 2006-04-06 | 1 | -0/+1 |
| | |||||
* | Don't build GHC with breakpoint support by default. | Lemmih | 2006-04-06 | 1 | -1/+1 |
| | |||||
* | GHC.Base.breakpoint isn't vaporware anymore. | Lemmih | 2006-04-06 | 10 | -33/+251 |
| | | | | | -fignore-breakpoints can be used to ignore breakpoints. | ||||
* | Add SA_RESTART flag to the timer signal handler. | Simon Marlow | 2006-04-06 | 1 | -0/+11 |
| | | | | | This seems to be necessary to prevent readline being confused by our SIGALRM handler. | ||||
* | Better messages from HscTypes.showModMsg. | Lemmih | 2006-04-06 | 4 | -13/+17 |
| | |||||
* | Turn the "too many hs_exit()s" fatal error into a warning | Simon Marlow | 2006-04-05 | 1 | -1/+2 |
| | |||||
* | add freeStorage() prototype | Simon Marlow | 2006-04-05 | 1 | -0/+1 |
| | |||||
* | add support for x86_64; foreign import is now supported in GHCi on x86_64 | Simon Marlow | 2006-04-05 | 1 | -7/+176 |
| | |||||
* | Correct spelling mistake: GhcState1HcOpts -> GhcStage1HcOpts | Duncan Coutts | 2006-03-30 | 1 | -3/+3 |
| | |||||
* | oops, undo accidental patch | Simon Marlow | 2006-03-30 | 1 | -1/+1 |
| | |||||
* | fix profiling on Win32 | Simon Marlow | 2006-03-30 | 3 | -5/+12 |
| | | | | | The recent patch to free memory in hs_exit() on Win32 unfortunately broke profiling, because it freed the memory slightly too early. | ||||
* | fix for GHC >= 6.5 again | Simon Marlow | 2006-03-29 | 1 | -1/+1 |
| | |||||
* | in stage1, we should get isPrint and isUpper from Compat.Unicode, not Data.Char | Simon Marlow | 2006-03-29 | 2 | -4/+13 |
| | |||||
* | Darwin/x86: correct stack alignment in ByteCodeFFI | wolfgang.thaller@gmx.net | 2006-03-29 | 1 | -1/+17 |
| | |||||
* | Deal with non-executable memory on Darwin (only an issue on Darwin/x86 so far) | wolfgang.thaller@gmx.net | 2006-03-23 | 1 | -2/+2 |
| | |||||
* | add forkOnzh_fast symbol | Simon Marlow | 2006-03-28 | 1 | -0/+1 |
| | |||||
* | Add a new primitive forkOn#, for forking a thread on a specific Capability | Simon Marlow | 2006-03-27 | 6 | -24/+110 |
| | | | | | | | | | | | | | | | | | | | | This gives some control over affinity, while we figure out the best way to automatically schedule threads to make best use of the available parallelism. In addition to the primitive, there is also: GHC.Conc.forkOnIO :: Int -> IO () -> IO ThreadId where 'forkOnIO i m' creates a thread on Capability (i `rem` N), where N is the number of available Capabilities set by +RTS -N. Threads forked by forkOnIO do not automatically migrate when there are free Capabilities, like normal threads do. Still, if you're using forkOnIO exclusively, it's a good idea to do +RTS -qm to disable work pushing anyway (work pushing takes too much time when the run queues are large, this is something we need to fix). | ||||
* | eliminate a warning | Simon Marlow | 2006-03-27 | 1 | -1/+1 |
| | |||||
* | elimiante a couple of warnings | Simon Marlow | 2006-03-27 | 1 | -1/+1 |
| | |||||
* | fix a warning | Simon Marlow | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Add some more flexibility to the multiproc scheduler | Simon Marlow | 2006-03-24 | 9 | -51/+182 |
| | | | | | | | | | | | | | There are two new options in the -threaded RTS: -qm Don't automatically migrate threads between CPUs -qw Migrate a thread to the current CPU when it is woken up previously both of these were effectively off, i.e. threads were migrated between CPUs willy-milly, and threads were always migrated to the current CPU when woken up. This is the first step in tweaking the scheduling for more effective work balancing, there will no doubt be more to come. | ||||
* | mkDerivedConstants.c depends on ghcplatform.h | Duncan Coutts | 2006-03-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | I think this missing dep is what broke my parallel build I used make -j2 with ghc-6.4.2.20060323 and got: ------------------------------------------------------------------------ ==fptools== make boot -wr --jobserver-fds=3,11 -j; in /var/tmp/portage/ghc-6.4.2_pre20060323/work/ghc-6.4.2.20060323/ghc/includes ------------------------------------------------------------------------ Creating ghcplatform.h... Done. gcc -O -O2 -march=k8 -pipe -Wa,--noexecstack -c mkDerivedConstants.c -o mkDerivedConstants.o In file included from ghcconfig.h:5, from Stg.h:42, from Rts.h:19, from mkDerivedConstants.c:20: ghcplatform.h:1:1: unterminated #ifndef Done. With this patch applied I can no longer repoduce this build bug. So I think this patch should be applied to the cvs ghc-6-4-branch too. | ||||
* | small updates | Simon Marlow | 2006-03-27 | 1 | -15/+4 |
| | |||||
* | Allow users of the GHC library to specify which packages have already been ↵ | Lemmih | 2006-03-27 | 1 | -2/+7 |
| | | | | | | | | loaded. This is pretty important when using the linker/bytecode-compiler from binaries other than GHCi. | ||||
* | Fix Darwin/x86 stack alignment | wolfgang.thaller@gmx.net | 2006-03-25 | 1 | -11/+4 |
| | | | | | | | ... again. For now, I've added a TODO comment, but sooner or later this will have to be made gcc-version-independent. | ||||
* | Ranlib is required on Darwin/x86, too | wolfgang.thaller@gmx.net | 2006-03-08 | 1 | -1/+1 |
| | |||||
* | Darwin Mangler: include alignment statements for symbol stubs | wolfgang.thaller@gmx.net | 2006-03-24 | 1 | -0/+3 |
| | |||||
* | mark recordMutableCap() with [R1] to avoid saving all regs across it | Simon Marlow | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | omit the __DISCARD__() call if unregisterised | Simon Marlow | 2006-03-24 | 1 | -1/+4 |
| | |||||
* | Accept amd64-*-freebsd architecture | Volker Stolz | 2006-03-23 | 1 | -0/+9 |
| | |||||
* | gcc is getting smarter, so we need to hit it with a bigger stick | Simon Marlow | 2006-03-23 | 1 | -0/+9 |
| | | | | | | | | | | On x86_64 we are using C argument registers for global registers in the STG machine. This is always going to be problematic when it comes to making C calls from STG and compiling via C. Prior to GCC 4.1.0 (approx) it was possible to just assign the argument expressions to temporaries to avoid a clash. Now, we need to add an extra dummy function call as a barrier between the temporary assignments and the actual call. The dummy call is removed by the mangler. | ||||
* | -fno-code shouldn't be a mode. | Lemmih | 2006-03-18 | 5 | -26/+37 |
| | | | | | | | | I've removed -fno-code from Main to make it work equally well with --make and -c. I've also allowed it not to write hi files unless -fwrite-iface is given. | ||||
* | Don't generate stub files when -fno-code is given. | Lemmih | 2006-03-18 | 1 | -5/+1 |
| | |||||
* | Documentation for -fno-code and -fwrite-iface. | Lemmih | 2006-03-18 | 1 | -7/+1 |
| | |||||
* | on second thoughts, revert the ppc/darwin part of the previous patch | Simon Marlow | 2006-03-22 | 1 | -2/+1 |
| | |||||
* | fix for gcc 4.1.x | Simon Marlow | 2006-03-22 | 1 | -6/+10 |
| | | | | | | | We need to use GNUC3_ATTRIBUTE(used) to force gcc to keep the definition of StgRunIsImplementedInAssembler() around. In some cases we had already made this function external rather than static to get around the problem, but GNUC3_ATTRIBUTE(used) is a better fix. | ||||
* | support for STM objects in the retainer profiler | Simon Marlow | 2006-03-21 | 1 | -0/+80 |
| | | | | addresses #492 | ||||
* | small changes to fix retainer profiling on HEAD | Simon Marlow | 2006-03-21 | 1 | -2/+3 |
| | |||||
* | tiny cleanup | Simon Marlow | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | powerpc64 does not support GHCi right now | Simon Marlow | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | oops, remove temporary testing code | Simon Marlow | 2006-03-21 | 1 | -2/+0 |
| | |||||
* | stopTicker(): wait for the timer thread to exit | Simon Marlow | 2006-03-20 | 1 | -8/+30 |
| | |||||
* | fix Win32 build | Simon Marlow | 2006-03-20 | 1 | -1/+1 |
| | |||||
* | Documentation for -fno-code and -fwrite-iface. | Lemmih | 2006-03-18 | 1 | -1/+7 |
| | |||||
* | Don't generate stub files when -fno-code is given. | Lemmih | 2006-03-18 | 1 | -1/+5 |
| | |||||
* | -fno-code shouldn't be a mode. | Lemmih | 2006-03-18 | 5 | -37/+26 |
| | | | | | | | | I've removed -fno-code from Main to make it work equally well with --make and -c. I've also allowed it not to write hi files unless -fwrite-iface is given. | ||||
* | Cleanup after the OPTIONS parsing was moved. | Lemmih | 2006-03-12 | 2 | -11/+2 |
| | |||||
* | fix build for certain picky versions of gcc | Simon Marlow | 2006-03-17 | 1 | -7/+7 |
| |