Changes between Version 32 and Version 33 of Commentary/Compiler/NewCodeGen


Ignore:
Timestamp:
Aug 27, 2008 4:53:53 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGen

    v32 v33  
    33This page summarises work that Norman Ramsey, Simon M, Simon PJ, and John Dias are doing on re-architecting GHC's back end.  Our plan is as follows: 
    44 
    5  * '''Step 1''': drain the "Rep swamp".  This is a change of data representation that pervades the compiler, including lots and lots of tiny changes in the existing native code generators.  It's done, and tested, but not yet committed to the HEAD. 
     5 * '''Step 1''': drain the "Rep swamp".  This is a change of data representation that pervades the compiler, including lots and lots of tiny changes in the existing native code generators.  It's done (see [wiki:Commentary/Compiler/BackEndTypes]), and tested, but not yet committed to the HEAD. 
    66 
    77 * '''Step 2''': Replace the existing Stg to Cmm code generator (a very complex and inflexible pass) with a new modular pipeline. The output of this pipeline is fed to the existing, un-modified code geneators.  The design of the new pipeline is here: [wiki:Commentary/Compiler/NewCodeGenPipeline]. 
     
    3131These notes are largely out of date, but I don't want to dump them till we're sure that we've sucked all the juice out of them. 
    3232  
    33  * The Rep swamp is drained: see [wiki:Commentary/Compiler/BackEndTypes] 
    3433 * Code generator: first draft done. 
    3534 * Control-flow opt: simple ones done