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. 20 Jul, 2014 1 commit
  2. 18 Jul, 2014 1 commit
  3. 12 Jul, 2014 1 commit
  4. 11 Jul, 2014 2 commits
  5. 10 Jul, 2014 1 commit
  6. 07 Jul, 2014 1 commit
  7. 06 Jul, 2014 1 commit
  8. 02 Jul, 2014 2 commits
  9. 30 Jun, 2014 2 commits
    • tibbe's avatar
      Re-add more primops for atomic ops on byte arrays · 4ee4ab01
      tibbe authored
      This is the second attempt to add this functionality. The first
      attempt was reverted in 950fcae4, due
      to register allocator failure on x86. Given how the register
      allocator currently works, we don't have enough registers on x86 to
      support cmpxchg using complicated addressing modes. Instead we fall
      back to a simpler addressing mode on x86.
      
      Adds the following primops:
      
       * atomicReadIntArray#
       * atomicWriteIntArray#
       * fetchSubIntArray#
       * fetchOrIntArray#
       * fetchXorIntArray#
       * fetchAndIntArray#
      
      Makes these pre-existing out-of-line primops inline:
      
       * fetchAddIntArray#
       * casIntArray#
      4ee4ab01
    • Iavor S. Diatchki's avatar
      b7f9b6a7
  10. 29 Jun, 2014 1 commit
  11. 28 Jun, 2014 2 commits
  12. 26 Jun, 2014 4 commits
  13. 25 Jun, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Convert loose sub-repos into proper submodules (re #8545) · db19c665
      Herbert Valerio Riedel authored
      
      
      Specifically, the following sub-repos/modules are converted:
      
       - libffi-tarballs
       - libraries/array
       - libraries/deepseq
       - libraries/directory
       - libraries/dph
       - libraries/filepath
       - libraries/haskell2010
       - libraries/haskell98
       - libraries/hoopl
       - libraries/hpc
       - libraries/old-locale
       - libraries/old-time
       - libraries/parallel
       - libraries/process
       - libraries/stm
       - libraries/unix
       - nofib
       - utils/hsc2hs
      
      N.B. ghc-tarballs is not converted as it will probably be handled
           differently in the future.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      db19c665
  14. 24 Jun, 2014 3 commits
    • Herbert Valerio Riedel's avatar
      Fixup c1035d51 to behave more like in GHC 7.6 · ec550e8f
      Herbert Valerio Riedel authored
      The fix in c1035d51
      
       (addressing #9231) was done under the assumption
      that `Data.Fixed` is used only with power-of-10 `resolution`. This
      follow-up fixup changes the behavior to be more consistent with the
      previous behavior in GHC 7.6
      
      For instance, for the following `B7` resolution
      
         > data B7
         > instance HasResolution B7 where resolution _ = 128
      
      After this patch, the following behavior is now observable:
      
         > 1.070 :: Fixed B7
         1.062
         > 1.062 :: Fixed B7
         1.054
      
         > read "1.070" :: Fixed B7
         1.062
         > read "1.062" :: Fixed B7
         1.054
      
      This doesn't provide the desirable "read . show == id" property
      yet (which didn't hold in GHC 7.6 either), but at least `fromRational`
      and `read` are consistent.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      ec550e8f
    • tibbe's avatar
      Add more primops for atomic ops on byte arrays · d8abf85f
      tibbe authored
      Summary:
      Add more primops for atomic ops on byte arrays
      
      Adds the following primops:
      
       * atomicReadIntArray#
       * atomicWriteIntArray#
       * fetchSubIntArray#
       * fetchOrIntArray#
       * fetchXorIntArray#
       * fetchAndIntArray#
      
      Makes these pre-existing out-of-line primops inline:
      
       * fetchAddIntArray#
       * casIntArray#
      d8abf85f
    • Herbert Valerio Riedel's avatar
      Fix regression in Data.Fixed Read instance (re #9231) · c1035d51
      Herbert Valerio Riedel authored
      `convertFixed` operates under the wrong assumption that
      `Data.Fixed.resolution` returns a base-10 exponent `e`, whereas it
      actually returns the power-of-10 value `10^e`.
      
      So while the code (that was introduced in 5f19f951
      
       / #7483) happens to
      compute a correct result by coincidence, it allocates huge integer values
      in the process (i.e. `10^(10^e)`) which cause long computations which
      eventually result in out-of-memory conditions for `e`-values beyond
      `Data.Fixed.Milli`.
      
      A proper long-term fix would probably be to extend the `HasResolution`
      type-class to have a 2nd method providing the `e` value.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      
      Differential Revision: https://phabricator.haskell.org/D25
      c1035d51
  15. 19 Jun, 2014 3 commits
  16. 18 Jun, 2014 1 commit
  17. 17 Jun, 2014 1 commit
  18. 16 Jun, 2014 3 commits
  19. 14 Jun, 2014 1 commit
  20. 11 Jun, 2014 7 commits
  21. 10 Jun, 2014 1 commit