- 12 Jul, 2007 1 commit
-
-
audreyt@audreyt.org authored
-
- 11 Jul, 2007 2 commits
-
-
audreyt@audreyt.org authored
-
audreyt@audreyt.org authored
Perl 4's special variable $* controls multi-line matching; it's been deprecated from Perl 5's inception, and is finally removed in Perl versions 5.9 (soon to be 5.10). Since GHC depends on Perl 5.6+ anyway, this patch introduces an equivalent effect to $* without using that special variable, by hooking into Perl's regex parsing process to add the /m flag.
-
- 14 Jun, 2007 1 commit
-
-
Simon Marlow authored
-
- 10 May, 2007 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 27 Mar, 2007 1 commit
-
-
red5_2@hotmail.com authored
Save/restore two more registers in StgCRun(). The extra registers are used by ffi009.hs, when compiling with gcc 4.1.2.
-
- 18 Mar, 2007 1 commit
-
-
red5_2@hotmail.com authored
Gcc 4 is doing more clever optimizations than earlier gccs. These changes let ghc compile and run on ia64 with gcc 4.0.3. Register stack frames are enlarged so that all functions use the same size stack frame. The code to mangle tail calls has been cleaned up and made more general. Additional floating-point and special-purpose registers used by GCC are saved upon entering the STG runtime. More general handling of NOP instructions. Handling of functions with multiple epilogues or no epilogue.
-
- 08 Mar, 2007 1 commit
-
-
wolfgang.thaller@gmx.net authored
Info tables, like everything else in the text section, MUST NOT contain pointers. A pointer is, by definition, position dependent and is therefore fundamentally incompatible with generating position independent code. Therefore, we have to store an offset from the info label to the string instead of the pointer, just as we already did for other things referred to by the info table (SRTs, large bitmaps, etc.)
-
- 27 Feb, 2007 1 commit
-
-
Ian Lynagh authored
From heatsink, in trac #1150.
-
- 08 Jan, 2007 1 commit
-
-
Ian Lynagh authored
-
- 12 Dec, 2006 1 commit
-
-
Simon Marlow authored
This has the undesitrable effect that stg_gc_gen_hp in the RTS was caught as an HPC symbol and put in the data segment.
-
- 06 Oct, 2006 1 commit
-
-
Simon Marlow authored
Patch by Ferris McCormick <fmccor@gentoo.org> This patch has been tested with GHC-6.4.2 where it fixes a huge number of testsuite failures (down from 406 to 17)
-
- 27 Nov, 2006 1 commit
-
-
wolfgang.thaller@gmx.net authored
Basic -fvia-C code generation is there, not much testing.
-
- 20 Nov, 2006 1 commit
-
-
wolfgang.thaller@gmx.net authored
-
- 24 Oct, 2006 1 commit
-
-
andy@galois.com authored
This large checkin is the new ghc version of Haskell Program Coverage, an expression-level coverage tool for Haskell. Parts: - Hpc.[ch] - small runtime support for Hpc; reading/writing *.tix files. - Coverage.lhs - Annotates the HsSyn with coverage tickboxes. - New Note's in Core, - TickBox -- ticked on entry to sub-expression - BinaryTickBox -- ticked on exit to sub-expression, depending -- on the boolean result. - New Stg level TickBox (no BinaryTickBoxes, though) You can run the coverage tool with -fhpc at compile time. Main must be compiled with -fhpc.
-
- 07 Apr, 2006 1 commit
-
-
Simon Marlow authored
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
-
- 24 Mar, 2006 1 commit
-
-
wolfgang.thaller@gmx.net authored
-
- 05 Feb, 2006 1 commit
-
-
wolfgang.thaller@gmx.net authored
-
- 03 Feb, 2006 1 commit
-
-
wolfgang.thaller@gmx.net authored
-
- 27 Feb, 2006 1 commit
-
-
Simon Marlow authored
-
- 17 Jan, 2006 1 commit
-
-
wolfgang authored
Linux/PPC64: remove some dead code that accidentally slipped in. MERGE TO STABLE
-
- 09 Jan, 2006 1 commit
-
-
simonmar authored
-
- 18 Nov, 2005 1 commit
-
-
simonmar authored
Discard various ways in which gcc zeroes stack slots in the prologue. So far in my investigations these have always been unnecessary, they appear to be the result of missed optimisations by gcc, so cross fingers and discard them. New variants have just shown up because I started compiling the RTS with -optc-O2.
-
- 31 Oct, 2005 2 commits
- 16 Sep, 2005 1 commit
-
-
simonmar authored
Update for Sparc/Solaris from Christian Meader. This might fix GHCi on Sparc.
-
- 13 Jun, 2005 2 commits
-
-
wolfgang authored
Darwin/x86: Instead of aligning all literals at 16 bytes, reuse the hack from x86-64.
-
wolfgang authored
Darwin/x86: Fix two causes for crashes: *) align literals to 16 bytes, because Apple's GCC likes to use SSE instructions which require this alignment. *) In print_doctored, recognize global jumps that masquerade as local jumps by going via Lfoo$stub or Lfoo$non_lazy_ptr.
-
- 09 Jun, 2005 1 commit
-
-
wolfgang authored
Registerised support for Darwin/x86, both NCG and mangled. *) -fPIC doesn't work yet with -fvia-C. *) Apple officially requires the stack to be 16-byte-aligned, GHC ignores this for now.
-
- 03 Jun, 2005 2 commits
- 10 May, 2005 1 commit
-
-
simonmar authored
Mangler support for GNU/Hurd. From: Thomas Schwinge
-
- 30 Apr, 2005 1 commit
-
-
wolfgang authored
More Mac OS X Tiger / GCC 4.0 fixes. MERGE TO STABLE
-
- 29 Apr, 2005 1 commit
-
-
wolfgang authored
Mac OS X (Tiger): Fix the Mangler for (Apple's version of) GCC 4.0 MERGE TO STABLE
-
- 08 Mar, 2005 2 commits
-
-
simonmar authored
HACK HACK HACK on x86_64 we need 16-byte aligned constants on this platform sometimes. Don't just 16-byte align everything, but try to detect 16-byte constants and align just those. All the codegen tests now go through on registerised x86_64, I'm building a stage2 GHC now.
-
simonmar authored
x86_64: the assembler doesn't like generating 8-byte relative relocations between text and rodata symbols. Hack around this by putting SRTs in the text segment for now.
-
- 03 Mar, 2005 1 commit
-
-
simonmar authored
Sparc: allow whitespace before .section directive. Should fix linking problems on sparc/solaris.
-
- 10 Feb, 2005 2 commits
-
-
wolfgang authored
Fix previous commit. Got distracted, thought I had already tested.
-
wolfgang authored
Fix Mac OS X-specific breakage introduced by rev. 1.67 of ghc/includes/Stg.h. Adding the used attribute to static functions caused gcc to emit Apple-specific .no_dead_strip directives, which messed things up.
-