- 01 Apr, 2003 1 commit
-
-
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.
-
- 31 Mar, 2003 11 commits
-
-
sof authored
- Stable.c:enlargeStablePtrTable(): plug a mem leak, the (re-)allocation is in bytes, not words. - nuke RtsUtils.c:stgMallocWords(), RtsUtils.c:stgReallocWords()
-
simonmar authored
On 32-bit platforms, add a bunch of symbols from libgcc.a used to support 64-bit arithmetic. It looks like these symbols are defined in libc on some platforms but not others, but it shouldn't do any harm to include them in the list of symbols that the linker knows about even if they're also in libc. They were already included for some platforms (cygwin, mingw, and darwin), this commit just includes then whenever we're compiling with gcc on a 32-bit platform.
-
simonmar authored
Mention that our Read class accepts hex and octal literals, as an extension to Haskell 98.
-
simonmar authored
Booting from HC fixes (slightly tweaked for the HEAD) Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
HC bootstrapping fixes Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
Include NetBSD support Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
NetBSD fixes Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
Comments only Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
Fixes to subdir ordering for booting from HC files. Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
Tweaks to make it work again (at least with 5.04.3) Submitted by: Urban Boquist <boquist@crt.se>
-
simonmar authored
Fixes to the hc-file-bundle Submitted by: Urban Boquist <boquist@crt.se>
-
- 29 Mar, 2003 2 commits
- 28 Mar, 2003 4 commits
-
-
sof authored
block_vtalrm_signal() and unblock_vtalrm_signal(): unused, disable.
-
sof authored
fix ProjectVersion
-
sof authored
FIRST_BLOCK_OFF: more parens (for prec table illiterates like me)
-
sof authored
Off-by-one tidyup. ALLOC_AP, ALLOC_PAP and MKAP were all being constructed with size arguments equal to (1+number of args/FVs) in ByteCodeGen.schemeE, only for Interpreter.c to subtract 1 when fishing out the payloads. This commit drops the up-and-downery. Simplification spotted by Andy Moran
-
- 27 Mar, 2003 7 commits
-
-
sof authored
be gone
-
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 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 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 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 authored
Reduce tctrace verbosity
-
simonpj authored
Import wibbles
-
- 26 Mar, 2003 8 commits
-
-
sof authored
allocatePinned(): move large-object check to the front
-
sof authored
bring rts_mainLazyIO() into scope
-
sof authored
wibbles - drop references to PleaseStopAllocating(), use CloseNursery() to express ExtendNursery()
-
sof authored
initStorage(): sm_mutex not correctly initialised (guess no one's done an SMP build for the past 12 months :)
-
simonmar authored
Add __attribute__((regparm(1))) to evacuate()'s prototype. This avoids a lot of stack assignments between scavenge() and evacuate(). Performance isn't affected measurably, though.
-
simonmar authored
Fix bug in previous two commits: must check HEAP_ALLOCED() before using Bdescr().
-
simonmar authored
Check for the rlim_t type
-
sof authored
gen_map_mblocks(): add comment re: issues that need to be addressed should anyone want to tackle the ToDo item
-
- 25 Mar, 2003 7 commits
-
-
sof authored
bring rts_mainLazyIO() into scope
-
sof authored
to ease replacement of the underlying allocator used by stgMallocBytes() and friends, provide (&use) RtsUtils.c:stgFree()
-
sof authored
wibble wrt stgMallocBytes()
-
sof authored
msTime(): only used with PAR
-
sof authored
leave out unused statics when not using BFD
-
simonmar authored
Update ghc-pkg documentation w.r.t. multiple config files, and add documentation for 'auto' packages.
-
sof authored
code wibbles
-