1. 25 Aug, 2000 1 commit
    • qrczak's avatar
      [project @ 2000-08-25 10:06:37 by qrczak] · fd23905b
      qrczak authored
      Don't strip libgmp.a. (But perhaps --strip-unneeded or something
      would be harmless.)
      
      PS. The configure script looks for __gmpz_fdiv_qr, but gmp that I have
      installed uses the name mpz_fdiv_qr and is thus not being found. (Also
      it is dynamically linked, where ghc's gmp is only statically linked.)
      I guess that configure should check for either name.
      fd23905b
  2. 24 Aug, 2000 5 commits
  3. 23 Aug, 2000 1 commit
  4. 22 Aug, 2000 6 commits
  5. 21 Aug, 2000 12 commits
    • sewardj's avatar
      [project @ 2000-08-21 15:40:14 by sewardj] · b71148fc
      sewardj authored
      Make the register allocator deal properly with switch tables.
      Previously, it didn't calculate the correct flow edges away from the
      indirect jump (in fact it didn't reckon there were any flow edges
      leaving it :) which makes a nonsense of the live variable analysis in
      the branches.
      
      A jump insn can now optionally be annotated with a list of destination
      labels, and if so, the register allocator creates flow edges to all of
      them.
      
      Jump tables are now re-enabled.  They remain disabled for 4.08.1,
      since we aren't fixing the problem properly on that branch.
      
      I assume this problem wasn't exposed by the old register allocator
      because of the live-range-approximation hacks used in it.  Since it
      was undocumented, we'll never know.
      
      Sparc builds will now break until I fix them.
      b71148fc
    • simonmar's avatar
      [project @ 2000-08-21 15:28:30 by simonmar] · 4e477c58
      simonmar authored
      look for GMP 3, not GMP 2.
      4e477c58
    • simonmar's avatar
      [project @ 2000-08-21 15:27:18 by simonmar] · b682cf8d
      simonmar authored
      Connect up the new GMP.
      b682cf8d
    • simonmar's avatar
      [project @ 2000-08-21 15:21:52 by simonmar] · c769442c
      simonmar authored
      Our local changes to GMP 3.1: disconnect the bits we're not interested
      in (mpf, mpq, tests subdirs etc.).
      c769442c
    • simonmar's avatar
      [project @ 2000-08-21 15:12:04 by simonmar] · 9edeeedc
      simonmar authored
      merge conflicts (I hope)
      9edeeedc
    • simonmar's avatar
      [project @ 2000-08-21 14:16:57 by simonmar] · cd1a93d8
      simonmar authored
      - add touch# and foreignObjToAddr# primops.
      
      - add these functions to ForeignObj:
      
      	withForeignObj  :: ForeignObj -> (Addr -> IO a) -> IO a
      	touchForeignObj :: ForeignObj -> IO ()
      
      - foreignObjToAddr, which was previously implemented using a _casm_, now
        uses the foreignObjToAddr# primop.
      
      - replace implementations of readXXXOffForeignObj and writeXXXOffForeignObj
        using the withForeignObj and the Addr operations.  ForeignObj.lhs now has
        no _casms_ in it!  (it still can't be compiled with the NCG though, because
        it has a f.i.d.)
      cd1a93d8
    • simonmar's avatar
      [project @ 2000-08-21 14:12:17 by simonmar] · 601bd950
      simonmar authored
      remove an unused import
      601bd950
    • simonmar's avatar
      [project @ 2000-08-21 14:11:35 by simonmar] · d98b11f7
      simonmar authored
      make this file independent of the actual word size.
      d98b11f7
    • simonmar's avatar
      [project @ 2000-08-21 13:35:46 by simonmar] · c76fd55c
      simonmar authored
      Fix up a PrimOp dependency.
      c76fd55c
    • simonmar's avatar
      [project @ 2000-08-21 13:34:44 by simonmar] · b19cd2ef
      simonmar authored
      Add touch# and foreignObjToAddr#.
      b19cd2ef
    • simonmar's avatar
      [project @ 2000-08-21 13:34:06 by simonmar] · 2d60ede8
      simonmar authored
      - Add touch# and foreignObjToAddr#.
      
      - Add a long comment to the beginning of this file listing the files
        that need to be updated when adding a new primop.
      2d60ede8
    • rrt's avatar
      [project @ 2000-08-21 13:13:15 by rrt] · 0f7d86ee
      rrt authored
      Added a worked example of how to export Haskell functions from a DLL
      (provided by Sigbj\orn).
      0f7d86ee
  6. 18 Aug, 2000 12 commits
  7. 17 Aug, 2000 3 commits