FW: HEADS UP: big codegen patch

Simon Peyton-Jones simonpj at microsoft.com
Wed Aug 20 08:18:32 EDT 2008


Simon, Ian (and other interested parties)

John and I would like to push this Big Patch.  As a sanity check, would either or both of you like to try it out?  I'm going to do so on Windows.

Simon
-----Original Message-----
From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On Behalf Of John Dias
Sent: 18 August 2008 14:37
To: Don Stewart
Cc: cvs-ghc at haskell.org
Subject: RE: HEADS UP: big codegen patch

Hi Don,

We have a couple of Wiki pages that outline the plan with the new code generator. The first page gives the short-term view:
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/NewCodeGenPipeline
and the following page gives the longer-term plans:
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/IntegratedCodeGen

The current state of play is that the first page has been implemented (with a few known holes and recent design changes that have yet to hit the Wiki). But the whole pipeline was only completed just before Anglo Haskell, so many bugs remain. My current priority is to track down bugs until the new code generator passes the test suite.

As for the bigger picture, the next big steps include:
- rewriting run-time system .cmm code to use the new code generator (currently, it has to be written as though it were the output of the code generator),
- turning GHC into a cross compiler, and
- experimenting with some changes to the calling conventions.
(Not necessarily in that order.)

Cheers,
John


> -----Original Message-----
> From: Don Stewart [mailto:dons at galois.com]
> Sent: Friday, August 15, 2008 7:24 PM
> To: John Dias
> Cc: cvs-ghc at haskell.org
> Subject: Re: HEADS UP: big codegen patch
>
> t-jodias:
> >    Before merging a large batch of codegen changes, I wanted to make
> it
> >    available for testing. These patches do not turn on the new code
> generator
> >    (still a buggy work in progress), but there were some
> representation
> >    changes that affected the old code generator, as well as native-
> code
> >    generators on multiple platforms. You can download the patch from
> a
> >    repository at: http://darcs.haskell.org/~dias/ghc
> >
> >
> >
> >    These changes have not yet been pushed to the HEAD, but I intend
> to do so
> >    next week. Please take this opportunity to test things out and let
> me know
> >    if you run into problems.
> >
> >    Cheers,
> >
>
> Wonderful John. I'm so glad to see this work coming together.
>
> Can you summarise the state of play, and direction for the new codegen
> project?
>
> -- Don

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc at haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc



More information about the Cvs-ghc mailing list