Skip to content
Snippets Groups Projects
  1. Jul 05, 2011
    • Simon Marlow's avatar
      Add two new primops: · d7aed5e6
      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.
      d7aed5e6
    • Simon Marlow's avatar
      Fix bug introduced in b2bd63f9 · f9129b03
      Simon Marlow authored
      HPC expects the end column of a span to be one less than the
      convention used by SrcSpan, and we had lost the "-1", causing various
      HPC tests to fail.
      f9129b03
    • David Terei's avatar
      Fix LLVM backend in unregisterised build to use C · c9c33284
      David Terei authored
      calling convention.
      
      Patch based on one by Karel Gardas.
      c9c33284
    • Simon Marlow's avatar
      oops, fix the x86 version of the code in here. I validated on the · 94460b29
      Simon Marlow authored
      wrong platform by mistake.
      94460b29
    • Simon Marlow's avatar
      Keep the C stack pointer 16-byte aligned on all x86 platforms, not just Mac OS X (#5250). · cb555964
      Simon Marlow authored
      The OS X ABI requires the C stack pointer to be 16-byte aligned at a
      function call.  As far as I know this is not a requirement on other
      x86 ABIs, but it seems that gcc is now generating SSE2 code that
      assumes stack alignment (-mincoming-stack-boundary defaults to 4), so
      we have to respect 16-byte alignment.
      cb555964
    • Simon Marlow's avatar
      add missing cases for ArchARM · f9efd4a6
      Simon Marlow authored
      f9efd4a6
    • Ian Lynagh's avatar
      3b85157f
    • kgardas's avatar
      Fix to use %note instead of @note as an ELF section note on ARM architecture · 1b299728
      kgardas authored
      It looks like where x86 assembly is using '@' character,
      ARM assembly requires '%' character. This makes a problem in the patch
      814edf44 'Force re-linking if
      the options have changed (#4451)' which makes linking assembly
      file uncompilable on ARM. This patch fixes this.
      1b299728
    • dmp's avatar
      Fix strftime string in fingerprint script · 31f2463d
      dmp authored
      There was an extra % in the strftime string used in the fingerprint
      script to name the output files. It worked fine in python 2.6 on mac
      os, but was producing bad file names in python 2.7 on linux.
      31f2463d
    • Simon Peyton Jones's avatar
      Add case-floating to the float-out pass · 391690c9
      Simon Peyton Jones authored
      There are two things in this patch. First, a new feature.
      Given     (case x of I# y -> ...)
      where 'x' is known to be evaluated, the float-out pass
      will float the case outwards towards x's binding.  Of
      course this doesn't happen if 'x' is evaluated because
      of an enclosing case (becuase then the inner case would
      be eliminated) but it *does* happen when x is bound by
      a constructor with a strict field.  This happens in DPH.
      Trac #4081.
      
      The second change is a significant refactoring of the
      way the let-floater works.  Now SetLevels makes a decision
      about whether the let (or case) will move, and records
      that decision in the FloatSpec flag.  This change makes
      the whole caboodle much easier to think about.
      391690c9
    • Simon Peyton Jones's avatar
      Fix Trac #5263: bug in chooseExternalIds · a735788f
      Simon Peyton Jones authored
      An identifier used in an unfolding wasn't getting marked
      as an external Id, which caused subsequent chaos.
      
      In understanding and fixing this I refactored some of
      chooseExternalIds.  As a side benefit, the order in which
      it enumerates the free variables of the IdInfo is now
      deterministic (this was a to-do before).
      a735788f
    • Simon Peyton Jones's avatar
      More tracing in CoreUnfold · 5c087fa8
      Simon Peyton Jones authored
      5c087fa8
    • Sergei Trofimovich's avatar
      The patch fixes recognition of 'softfloat' targets as valid: · 585bac4f
      Sergei Trofimovich authored
          ghc $ ./configure --build=armv5tel-softfloat-linux-gnueabi \
                            --host=armv5tel-softfloat-linux-gnueabi \
                            --target=armv5tel-softfloat-linux-gnueabi
          checking for gfind... no
          checking for find... /usr/bin/find
          checking for sort... /usr/bin/sort
          checking for GHC version date... inferred 7.1.20110626
          checking for ghc... /usr/bin/ghc
          checking version of ghc... 7.0.4
          checking build system type... armv5tel-softfloat-linux-gnueabi
          checking host system type... armv5tel-softfloat-linux-gnueabi
          checking target system type... armv5tel-softfloat-linux-gnueabi
          Unknown vendor softfloat
      
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      585bac4f
  2. Jul 04, 2011
  3. Jul 03, 2011
  4. Jul 02, 2011
  5. Jun 27, 2011
  6. Jun 26, 2011
  7. Jun 25, 2011
  8. Jun 24, 2011
  9. Jun 23, 2011
Loading