1. 31 Dec, 2015 1 commit
  2. 30 Dec, 2015 11 commits
  3. 29 Dec, 2015 15 commits
  4. 28 Dec, 2015 7 commits
  5. 27 Dec, 2015 6 commits
    • Ben Gamari's avatar
      rts/Linker(ARM): Ensure all code sections are flushed from cache · 0054bcd4
      Ben Gamari authored
      Test Plan: Validate with T12299
      
      Reviewers: hsyl20, austin, erikd
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1708
      
      GHC Trac Issues: #11299
      0054bcd4
    • Edward Z. Yang's avatar
      The -package flag should select match from right-most package db. · 1b000168
      Edward Z. Yang authored
      
      
      The shadowing and default behavior (in the absence of
      -hide-all-packages) prefers packages that come from "later" package
      databases.  So for example if tmp1.d and tmp2.d both expose p-1.0, then
      
          ghc -package-db tmp1.d -package-db tmp2.d
      
      brings the p-1.0 from tmp2.d into scope (and if they have the same IPID,
      tmp2.d shadows tmp1.d).  HOWEVER, -package flags do NOT respect this
      behavior.
      
          ghc -package-db tmp1.d -package-db tmp2.d -package p-1.0
      
      this will force the p-1.0 from tmp1.d to be exposed!  This is
      confusing, so this patch makes the behavior of -package flags
      consistent.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: validate
      
      Reviewers: austin, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1709
      1b000168
    • Peter Trommler's avatar
      RTS: Detect powerpc64le as ELF 64-bit system · c8d0af31
      Peter Trommler authored
      
      Test Plan: validate
      
      Reviewers: simonmar, erikd, austin, bgamari
      
      Reviewed By: austin, bgamari
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1672
      
      GHC Trac Issues: #11269
      c8d0af31
    • Georgios Karachalias's avatar
      Adding flags: -ffull-guard-reasoning and too-many-guards · bec5350d
      Georgios Karachalias authored
      Introduction of two new flags, for more precise control over the new
      pattern match checker's behaviour when reasoning about guards. This is
      supposed to address #11195 (and maybe more performance bugs related to
      the NP-Hardness of coverage checking).
      
      Expected behaviour:
      
        * When `-ffull-guard-reasoning` is on, run the new pattern match
          checker in its full power
      
        * When `-ffull-guard-reasoning` is off (the default), for every
          match, check a metric to see whether pattern match checking for it
          has high probability of being non performant (at the the moment we
          check whether the number of guards is over 20 but I would like to
          use a more precise measure in the future). If the probability is
          high:
      
          - Oversimplify the guards (less expressive but more performant)
            and run the checker, and
      
          - Issue a warning about the simplification that happened.
      
      A new flag `-Wtoo-many-guards/-Wno-too-many-guards` suppresses the
      warning about the simplification (useful when combined with -Werror).
      
      Test Plan: validate
      
      Reviewers: goldfire, austin, hvr, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: mpickering, thomie
      
      Differential Revision: https://phabricator.haskell.org/D1676
      
      GHC Trac Issues: #11195
      bec5350d
    • Ben Gamari's avatar
      integer-gmp: Fix #11296 · 07b3be76
      Ben Gamari authored
      This was introduced by a mental fumble in
      9e8562ae wherein I replaced
      `getSizeofMutableByteArray` with `getSizeofMutBigNat`. This was noticed
      by invalid integers being produced on 32-bit machines in #11296.
      
      Test Plan: Validate
      
      Reviewers: hvr, goldfire, austin
      
      Reviewed By: hvr
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1707
      
      GHC Trac Issues: #11296
      07b3be76
    • Ben Gamari's avatar
      Add testcase for getSizeofMutableByteArray# · 11778f74
      Ben Gamari authored
      In an attempt to track down #11296. Unfortunately the primop appears
      to be working as expected.
      
      Test Plan: validate
      
      Reviewers: hvr, austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1706
      
      GHC Trac Issues: #11296
      11778f74