1. 07 Sep, 2000 7 commits
  2. 06 Sep, 2000 5 commits
    • simonmar's avatar
      [project @ 2000-09-06 13:49:26 by simonmar] · 48b5a78c
      simonmar authored
      revert accidental parts of previous commit
    • simonmar's avatar
      [project @ 2000-09-06 13:29:10 by simonmar] · 2a36f904
      simonmar authored
      Generate a new unique to be used in the typedef for a f.i.d., rather
      than re-using the one from the function call, which might conflict if
      there are two similar calls in the same module.
    • simonmar's avatar
      [project @ 2000-09-06 12:21:15 by simonmar] · ca3f9ad2
      simonmar authored
      When compiling code for a case where the scrutinee is a primitve
      comparison operator, we used to place the tag in a variable whose
      unique was always the same: `mkPseudoUnique1 1'.  This was mostly
      harmless but confused the Stix inliner in the NCG into generating
      slightly less efficient code when the variable was used twice in a
      basic block.
      This patch fixes the problem by generating a new unique by just
      changing the "tag" of an existing unique, namely the case binder.
    • simonmar's avatar
      [project @ 2000-09-06 10:23:52 by simonmar] · 67a402e2
      simonmar authored
      Add new PrimRep, namely PrimPtrRep, as a catch-all for the various
      boxed primitive types that currently don't have their own PrimReps.
      Use this for MVar# and MutVar#.  This fixes a crash in the code
      generator when a function returns one of these types.
    • simonmar's avatar
      [project @ 2000-09-06 10:21:17 by simonmar] · 3cc69ccd
      simonmar authored
      recode primOpOkForSpeculation in terms of primOpIsCheap and primOpCanFail.
  3. 05 Sep, 2000 3 commits
  4. 04 Sep, 2000 2 commits
  5. 01 Sep, 2000 1 commit
  6. 31 Aug, 2000 2 commits
  7. 29 Aug, 2000 1 commit
    • simonpj's avatar
      [project @ 2000-08-29 16:56:26 by simonpj] · f1e626d0
      simonpj authored
      Fix a bug reported by Jose Emilio Labra Gayo
      	newtype Foo a => T = MkT (out :: a)
      The selector 'out' was being given an incorrect RHS.
      (Core Lint spotted it.)
  8. 24 Aug, 2000 1 commit
  9. 22 Aug, 2000 3 commits
  10. 21 Aug, 2000 6 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
      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.
    • simonmar's avatar
      [project @ 2000-08-21 14:12:17 by simonmar] · 601bd950
      simonmar authored
      remove an unused import
    • simonmar's avatar
      [project @ 2000-08-21 14:11:35 by simonmar] · d98b11f7
      simonmar authored
      make this file independent of the actual word size.
    • simonmar's avatar
      [project @ 2000-08-21 13:35:46 by simonmar] · c76fd55c
      simonmar authored
      Fix up a PrimOp dependency.
    • simonmar's avatar
      [project @ 2000-08-21 13:34:44 by simonmar] · b19cd2ef
      simonmar authored
      Add touch# and foreignObjToAddr#.
    • 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.
  11. 18 Aug, 2000 4 commits
  12. 17 Aug, 2000 5 commits