1. 29 Apr, 2017 1 commit
  2. 20 Jan, 2015 1 commit
  3. 20 Jul, 2014 1 commit
  4. 15 Dec, 2010 1 commit
  5. 02 Aug, 2009 1 commit
    • Simon Marlow's avatar
      RTS tidyup sweep, first phase · a2a67cd5
      Simon Marlow authored
      The first phase of this tidyup is focussed on the header files, and in
      particular making sure we are exposinng publicly exactly what we need
      to, and no more.
       - Rts.h now includes everything that the RTS exposes publicly,
         rather than a random subset of it.
       - Most of the public header files have moved into subdirectories, and
         many of them have been renamed.  But clients should not need to
         include any of the other headers directly, just #include the main
         public headers: Rts.h, HsFFI.h, RtsAPI.h.
       - All the headers needed for via-C compilation have moved into the
         stg subdirectory, which is self-contained.  Most of the headers for
         the rest of the RTS APIs have moved into the rts subdirectory.
       - I left MachDeps.h where it is, because it is so widely used in
         Haskell code.
       - I left a deprecated stub for RtsFlags.h in place.  The flag
         structures are now exposed by Rts.h.
       - Various internal APIs are no longer exposed by public header files.
       - Various bits of dead code and declarations have been removed
       - More gcc warnings are turned on, and the RTS code is more
       - More source files #include "PosixSource.h", and hence only use
         standard POSIX (1003.1c-1995) interfaces.
      There is a lot more tidying up still to do, this is just the first
      pass.  I also intend to standardise the names for external RTS APIs
      (e.g use the rts_ prefix consistently), and declare the internal APIs
      as hidden for shared libraries.
  6. 06 Apr, 2007 1 commit
  7. 07 Apr, 2006 1 commit
    • Simon Marlow's avatar
      Reorganisation of the source tree · 0065d5ab
      Simon Marlow authored
      Most of the other users of the fptools build system have migrated to
      Cabal, and with the move to darcs we can now flatten the source tree
      without losing history, so here goes.
      The main change is that the ghc/ subdir is gone, and most of what it
      contained is now at the top level.  The build system now makes no
      pretense at being multi-project, it is just the GHC build system.
      No doubt this will break many things, and there will be a period of
      instability while we fix the dependencies.  A straightforward build
      should work, but I haven't yet fixed binary/source distributions.
      Changes to the Building Guide will follow, too.
  8. 23 Jan, 2006 1 commit
  9. 27 Apr, 2005 1 commit
  10. 23 Feb, 2005 1 commit
  11. 16 Feb, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-02-16 10:50:23 by simonmar] · 4553e941
      simonmar authored
      Recommend using -M rather than -H to increase the heap size.
      On Windows, there's an arbitrary limit of 256Mb due to the way memory
      is allocated, which is the primary cause of running out of heap.  On
      Unix, the heap size is unlimited by default.
  12. 15 Feb, 2004 1 commit
  13. 01 Oct, 2003 1 commit
    • sof's avatar
      [project @ 2003-10-01 17:01:28 by sof] · 61b596d6
      sof authored
        bring back -Rghc-timing output when compiled with >= 4.11
        (was >= 5.05, which looks unnecessarily restrictive.)
  14. 25 Mar, 2003 1 commit
  15. 12 Dec, 2002 1 commit
  16. 11 Dec, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-12-11 15:36:20 by simonmar] · 0bffc410
      simonmar authored
      Merge the eval-apply-branch on to the HEAD
      This is a change to GHC's evaluation model in order to ultimately make
      GHC more portable and to reduce complexity in some areas.
      At some point we'll update the commentary to describe the new state of
      the RTS.  Pending that, the highlights of this change are:
        - No more Su.  The Su register is gone, update frames are one
          word smaller.
        - Slow-entry points and arg checks are gone.  Unknown function calls
          are handled by automatically-generated RTS entry points (AutoApply.hc,
          generated by the program in utils/genapply).
        - The stack layout is stricter: there are no "pending arguments" on
          the stack any more, the stack is always strictly a sequence of
          stack frames.
          This means that there's no need for LOOKS_LIKE_GHC_INFO() or
          LOOKS_LIKE_STATIC_CLOSURE() any more, and GHC doesn't need to know
          how to find the boundary between the text and data segments (BIG WIN!).
        - A couple of nasty hacks in the mangler caused by the neet to
          identify closure ptrs vs. info tables have gone away.
        - Info tables are a bit more complicated.  See InfoTables.h for the
        - As a side effect, GHCi can now deal with polymorphic seq.  Some bugs
          in GHCi which affected primitives and unboxed tuples are now
        - Binary sizes are reduced by about 7% on x86.  Performance is roughly
          similar, some programs get faster while some get slower.  I've seen
          GHCi perform worse on some examples, but haven't investigated
          further yet (GHCi performance *should* be about the same or better
          in theory).
        - Internally the code generator is rather better organised.  I've moved
          info-table generation from the NCG into the main codeGen where it is
          shared with the C back-end; info tables are now emitted as arrays
          of words in both back-ends.  The NCG is one step closer to being able
          to support profiling.
      This has all been fairly thoroughly tested, but no doubt I've messed
      up the commit in some way.
  17. 05 Dec, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-12-05 13:51:56 by simonmar] · 1ca2417e
      simonmar authored
      - remove old code for GHC < 3.03 (we don't support building GHC with
        less than 4.08).
      - remove ErrorHdrHook and PatError, we now catch all exceptions at
        the top level and report panics (this will fix some test
        discrepancies with GHCi).
  18. 23 Aug, 2002 1 commit
  19. 22 Apr, 2002 1 commit
  20. 10 Aug, 2001 1 commit
  21. 07 Aug, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-08-07 10:11:05 by simonmar] · b36887cd
      simonmar authored
      Move RtsFlags.h into ghc/includes, so it's available in a binary
      installation.  RtsFlags.h was repository-copied behind the scenes to
      keep the revision history.
  22. 19 Feb, 2001 1 commit
  23. 19 Dec, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-12-19 12:55:18 by simonmar] · b1bbd55b
      simonmar authored
      - Add setHeapSize (for -H support, works with ghc-4.08+)
      - Add enableGhcTiming (for -Rghc-timing, works with ghc-4.11+)
      Both of these are no-ops for older compilers.
  24. 27 Apr, 1999 1 commit
  25. 02 Dec, 1998 1 commit
  26. 14 Aug, 1998 1 commit
  27. 19 Jul, 1996 1 commit
  28. 15 Jul, 1996 1 commit
  29. 19 Mar, 1996 1 commit
  30. 11 Jan, 1996 1 commit
  31. 08 Jan, 1996 1 commit