1. 01 Apr, 2003 1 commit
    • simonmar's avatar
      [project @ 2003-04-01 09:35:13 by simonmar] · 999f8cf9
      simonmar authored
      Don't constant-fold (negateFloat# 0.0#), because the compiler's
      internal representation of floating-point literals (Rational) can't
      represent -0.0.  This means that
         main = print (-0.0)
      now gives the same results with -O as it does without.
      Fixes test arith005.
  2. 31 Mar, 2003 11 commits
  3. 29 Mar, 2003 2 commits
  4. 28 Mar, 2003 4 commits
  5. 27 Mar, 2003 7 commits
    • sof's avatar
      [project @ 2003-03-27 22:35:28 by sof] · cdc9f210
      sof authored
      be gone
    • sof's avatar
      [project @ 2003-03-27 17:59:09 by sof] · 6da62425
      sof authored
      NCG support for f.e.d. stdcall -- Literal.MachLabels now optionally carry
      the size (in bytes) of the stack frame it expects, if known. That just
      so happens to match what stdcall labels need to be annotated with when
      emitting them in the NCG..
    • simonmar's avatar
      [project @ 2003-03-27 13:54:31 by simonmar] · bf8b921f
      simonmar authored
      Two performance tweaks:
        - Use specialised indirections, which perform the right kind of
          return without needing to enter the object they point to.  This
          saves a small percentages of memory reads.
        - Tweak the update code to generate better code with gcc.  This
          saves a few instructions per update.
    • simonpj's avatar
      [project @ 2003-03-27 08:25:31 by simonpj] · b52d5ab7
      simonpj authored
            Fix a wibble in default-type setting for TH
      When a bunch of declarations contains no 'default' declaration,
      we were setting 'defaultDefaultTys' as appropriate default types.
      This isn't right for Template Haskell, which may have more than
      one bunch of top-level decls.  (The bunches are separated by
      top-level declaration splices.)
      Instead, if there is no 'default' declaration we should do nothing.
    • simonpj's avatar
      [project @ 2003-03-27 08:21:27 by simonpj] · 3ede7cd4
      simonpj authored
            Respect SPECIALISE pragmas in instance decls
      For some time now we have simply been discarding SPECIALISE pragmas
      in instance declarations.  I think this was my fault, at some point
      when I was re-plumbing TcClassDcl.lhs, but it's been this way for
      some time.
      The only uses of this facility in the Prelude are in GHC/Float.lhs
      and GHC/Real.lhs, which affected the efficiency of the Float and
      Double instance of properFraction, floor, ceiling, etc.
      Ah well, it's fixed now.
    • simonpj's avatar
      [project @ 2003-03-27 08:18:21 by simonpj] · e79e33b9
      simonpj authored
      Reduce tctrace verbosity
    • simonpj's avatar
      [project @ 2003-03-27 08:16:29 by simonpj] · e9440920
      simonpj authored
      Import wibbles
  6. 26 Mar, 2003 8 commits
  7. 25 Mar, 2003 7 commits