This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 15 Oct, 2012 1 commit
    • Duncan Coutts's avatar
      Add a new traceMarker# primop for use in profiling output · a609027d
      Duncan Coutts authored
      In time-based profiling visualisations (e.g. heap profiles and ThreadScope)
      it would be useful to be able to mark particular points in the execution and
      have those points in time marked in the visualisation.
      
      The traceMarker# primop currently emits an event into the eventlog. In
      principle it could be extended to do something in the heap profiling too.
      a609027d
  2. 10 Oct, 2012 1 commit
  3. 28 Aug, 2012 1 commit
  4. 28 May, 2012 1 commit
  5. 27 Apr, 2012 1 commit
  6. 21 Apr, 2012 1 commit
    • Ian Lynagh's avatar
      Add a quotRemWord2 primop · 5136d64e
      Ian Lynagh authored
      It allows you to do
          (high, low) `quotRem` d
      provided high < d.
      
      Currently only has an inefficient fallback implementation.
      5136d64e
  7. 20 Apr, 2012 1 commit
  8. 24 Feb, 2012 1 commit
  9. 23 Feb, 2012 1 commit
  10. 17 Feb, 2012 1 commit
  11. 14 Feb, 2012 1 commit
  12. 13 Jan, 2012 1 commit
  13. 12 Dec, 2011 1 commit
  14. 07 Dec, 2011 1 commit
    • chak@cse.unsw.edu.au.'s avatar
      Add new primtypes 'ArrayArray#' and 'MutableArrayArray#' · 021a0dd2
      chak@cse.unsw.edu.au. authored
      The primitive array types, such as 'ByteArray#', have kind #, but are represented by pointers. They are boxed, but unpointed types (i.e., they cannot be 'undefined').
      
      The two categories of array types —[Mutable]Array# and [Mutable]ByteArray#— are containers for unboxed (and unpointed) as well as for boxed and pointed types.  So far, we lacked support for containers for boxed, unpointed types (i.e., containers for the primitive arrays themselves).  This is what the new primtypes provide.
      
      Containers for boxed, unpointed types are crucial for the efficient implementation of scattered nested arrays, which are central to the new DPH backend library dph-lifted-vseg.  Without such containers, we cannot eliminate all unboxing from the inner loops of traversals processing scattered nested arrays.
      021a0dd2
  15. 06 Dec, 2011 1 commit
  16. 30 Nov, 2011 1 commit
    • Simon Marlow's avatar
      Further tweaks to the ccs primops · 1fc25dfd
      Simon Marlow authored
       - add getCCSOf# :: a -> State# s -> (# State# s, Addr# #)
         (returns the CCS attached to the supplied object)
      
       - remove traceCcs# (obsoleted by getCCSOf#)
      
       - rename getCCCS# to getCurrentCCS#
      1fc25dfd
  17. 29 Nov, 2011 1 commit
  18. 16 Nov, 2011 1 commit
  19. 11 Nov, 2011 1 commit
    • dreixel's avatar
      New kind-polymorphic core · 09015be8
      dreixel authored
      This big patch implements a kind-polymorphic core for GHC. The current
      implementation focuses on making sure that all kind-monomorphic programs still
      work in the new core; it is not yet guaranteed that kind-polymorphic programs
      (using the new -XPolyKinds flag) will work.
      
      For more information, see http://haskell.org/haskellwiki/GHC/Kinds
      09015be8
  20. 03 Oct, 2011 2 commits
    • Ian Lynagh's avatar
      Follow changes to HValue/Any handling · b926bd65
      Ian Lynagh authored
      Also removed the type argument to Any in primops.txt.pp. I don't
      see why we need it, and it now breaks haddocking GHC.Prim.
      b926bd65
    • Ian Lynagh's avatar
      Handle HValues slightly nicer · aff9d690
      Ian Lynagh authored
      We now have addrToAny# rather than addrToHValue#, and both addrToAny#
      and mkApUpd0# return "Any" rather than "a". This makes it a little
      easier to see what's going on, and fixes a warning in ByteCodeLink.
      aff9d690
  21. 19 Aug, 2011 1 commit
  22. 16 Aug, 2011 1 commit
  23. 28 Jun, 2011 1 commit
    • Simon Marlow's avatar
      Add two new primops: · be544179
      Simon Marlow authored
        seq#   :: a -> State# s -> (# State# s, a #)
        spark# :: a -> State# s -> (# State# s, a #)
      
      seq# is a version of seq that can be used in a State#-passing
      context.  We will use it to implement Control.Exception.evaluate and
      thus fix #5129.  Also we have plans to use it to fix #5262.
      
      spark# is to seq# as par is to pseq.  That is, it creates a spark in a
      State#-passing context.  We will use spark# and seq# to implement rpar
      and rseq respectively in an improved implementation of the Eval monad.
      be544179
  24. 17 Jun, 2011 1 commit
  25. 24 May, 2011 1 commit
  26. 19 May, 2011 2 commits
  27. 28 Apr, 2011 1 commit
  28. 11 Apr, 2011 1 commit
  29. 19 Jan, 2011 1 commit
  30. 18 Jan, 2011 1 commit
  31. 01 Mar, 2011 1 commit
  32. 26 Jan, 2011 1 commit
  33. 27 Oct, 2010 1 commit
  34. 15 Sep, 2010 1 commit
  35. 20 Jul, 2010 1 commit
  36. 08 Jul, 2010 1 commit
    • Simon Marlow's avatar
      New asynchronous exception control API (ghc parts) · ad3b79d2
      Simon Marlow authored
      As discussed on the libraries/haskell-cafe mailing lists
        http://www.haskell.org/pipermail/libraries/2010-April/013420.html
      
      This is a replacement for block/unblock in the asychronous exceptions
      API to fix a problem whereby a function could unblock asynchronous
      exceptions even if called within a blocked context.
      
      The new terminology is "mask" rather than "block" (to avoid confusion
      due to overloaded meanings of the latter).
      
      In GHC, we changed the names of some primops:
      
        blockAsyncExceptions#   -> maskAsyncExceptions#
        unblockAsyncExceptions# -> unmaskAsyncExceptions#
        asyncExceptionsBlocked# -> getMaskingState#
      
      and added one new primop:
      
        maskUninterruptible#
      
      See the accompanying patch to libraries/base for the API changes.
      ad3b79d2
  37. 25 Jun, 2010 1 commit
  38. 20 Jun, 2010 1 commit