Changes between Version 65 and Version 66 of Commentary/Compiler/NewCodeGen


Ignore:
Timestamp:
Mar 25, 2011 2:22:36 PM (3 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/NewCodeGen

    v65 v66  
    44 
    55This page summarises work that Norman Ramsey, Simon M, Simon PJ, and John Dias are doing on re-architecting GHC's back end.  Here is the state of play; see also [wiki:Commentary/Compiler/Backends/LLVM work on the LLVM back end]. 
     6 
     7 * Edward Yang has a wiki page that describes shortcomings of the code generated by the new pipeline: [wiki:Commentary/Compiler/NewCodeGenStupidity] 
    68 
    79 * John D has built a complete new codegen pipeline, running alongside the old one, enabled by `-fuse-new-codegen`. It is described here: [wiki:Commentary/Compiler/NewCodeGenPipeline].  It uses a new representation for `Cmm`, mostly with "Z" in the name.  (Let's call the original Cmm `OldCmm` and this new one `CmmZ`.)  It has a new conversion STG->CmmZ, and then sequence of passes that optimise and cps-convert the Cmm.  Finally, it is converted back to the old Cmm so that it can flow to the old code generators.