Changes between Version 32 and Version 33 of Commentary/Compiler/NewCodeGen
- Timestamp:
- 08/27/08 09:53:53 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/NewCodeGen
v32 v33 3 3 This 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: 4 4 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. 6 6 7 7 * '''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]. … … 31 31 These 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. 32 32 33 * The Rep swamp is drained: see [wiki:Commentary/Compiler/BackEndTypes]34 33 * Code generator: first draft done. 35 34 * Control-flow opt: simple ones done
