1. 03 Aug, 2016 9 commits
  2. 02 Aug, 2016 1 commit
  3. 01 Aug, 2016 3 commits
  4. 30 Jul, 2016 1 commit
    • alexbiehl's avatar
      Add atomic operations to package.conf.in · c06e3f46
      alexbiehl authored
      This patch resulted from the discussion in D2431 and should be merged
      @erikd and @trommler reported errors like
      ): In function `c14_info':
      (.text+0x2b8): undefined reference to `hs_cmpxchg32'
      ): In function `c5e_info':
      (.text+0xac4): undefined reference to `hs_cmpxchg32'
      ): In function `c8b_info':
      (.text+0x1198): undefined reference to `hs_cmpxchg32'
      ): In function `c8b_info':
      (.text+0x122c): undefined reference to `hs_cmpxchg32'
      ): In function `c8b_info':
      (.text+0x12ec): undefined reference to `hs_cmpxchg32'
      on PowerPC. @simonmar suggests to add the specific exports to
      `rts/package.conf.in`. This patch does exactly that, including all
      other atomic ops as they probably (maybe someone can verify?) suffer
      from the same problem on PPC.
      Test Plan: Please make sure to build on PPC.
      Reviewers: erikd, austin, bgamari, simonmar, trommler
      Reviewed By: erikd, trommler
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2435
  5. 28 Jul, 2016 1 commit
  6. 27 Jul, 2016 2 commits
  7. 26 Jul, 2016 4 commits
  8. 25 Jul, 2016 1 commit
  9. 24 Jul, 2016 1 commit
  10. 22 Jul, 2016 8 commits
  11. 21 Jul, 2016 8 commits
    • Gabor Greif's avatar
      More typos in comments · bbf36f89
      Gabor Greif authored
    • Gabor Greif's avatar
    • Ömer Sinan Ağacan's avatar
      Fix and document Unique generation for sum TyCon and DataCons · 8265c783
      Ömer Sinan Ağacan authored
      Test Plan: validate
      Reviewers: bgamari, austin
      Reviewed By: bgamari
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D2420
    • Ömer Sinan Ağacan's avatar
      Bump Haddock submodule · 6a4dc891
      Ömer Sinan Ağacan authored
    • Simon Peyton Jones's avatar
    • Simon Peyton Jones's avatar
    • Simon Peyton Jones's avatar
      Comments only · a09c0e3e
      Simon Peyton Jones authored
    • Ömer Sinan Ağacan's avatar
      Implement unboxed sum primitive type · 714bebff
      Ömer Sinan Ağacan authored
      This patch implements primitive unboxed sum types, as described in
      Main changes are:
      - Add new syntax for unboxed sums types, terms and patterns. Hidden
        behind `-XUnboxedSums`.
      - Add unlifted unboxed sum type constructors and data constructors,
        extend type and pattern checkers and desugarer.
      - Add new RuntimeRep for unboxed sums.
      - Extend unarise pass to translate unboxed sums to unboxed tuples right
        before code generation.
      - Add `StgRubbishArg` to `StgArg`, and a new type `CmmArg` for better
        code generation when sum values are involved.
      - Add user manual section for unboxed sums.
      Some other changes:
      - Generalize `UbxTupleRep` to `MultiRep` and `UbxTupAlt` to
        `MultiValAlt` to be able to use those with both sums and tuples.
      - Don't use `tyConPrimRep` in `isVoidTy`: `tyConPrimRep` is really
        wrong, given an `Any` `TyCon`, there's no way to tell what its kind
        is, but `kindPrimRep` and in turn `tyConPrimRep` returns `PtrRep`.
      - Fix some bugs on the way: #12375.
      Not included in this patch:
      - Update Haddock for new the new unboxed sum syntax.
      - `TemplateHaskell` support is left as future work.
      For reviewers:
      - Front-end code is mostly trivial and adapted from unboxed tuple code
        for type checking, pattern checking, renaming, desugaring etc.
      - Main translation routines are in `RepType` and `UnariseStg`.
        Documentation in `UnariseStg` should be enough for understanding
        what's going on.
      - Johan Tibell wrote the initial front-end and interface file
      - Simon Peyton Jones reviewed this patch many times, wrote some code,
        and helped with debugging.
      Reviewers: bgamari, alanz, goldfire, RyanGlScott, simonpj, austin,
                 simonmar, hvr, erikd
      Reviewed By: simonpj
      Subscribers: Iceland_jack, ggreif, ezyang, RyanGlScott, goldfire,
                   thomie, mpickering
      Differential Revision: https://phabricator.haskell.org/D2259
  12. 20 Jul, 2016 1 commit