Changes between Version 12 and Version 13 of Commentary/Compiler/NewCodeGenPipeline


Ignore:
Timestamp:
Aug 27, 2008 7:42:44 AM (7 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGenPipeline

    v12 v13  
    1616 * '''`CmmExpr`''' contains the data types for Cmm expressions, registers, and the like.  It does not depend on the dataflow framework at all.
    1717
    18 == The pipeline: Make the new code generator work with the existing native codeGen ==
     18== The the Cmm pipeline ==
     19
     20Code generation now has three stages:
     21  * Convert STG to Cmm, with implicit stack implicit, and native Cmm calls.
     22  * Optimise the Cmm, and CPS-convert it to have an explicit stack, and no native calls.
     23  * Feed the CPS-converted Cmm to the existing, unmodified native code generators.
    1924
    2025 * '''Code generator''' converts STG to `CmmGraph`.  Implemented in `StgCmm*` modules (in directory `codeGen`).