Changes between Version 13 and Version 14 of Commentary/Compiler/Backends/NCG


Ignore:
Timestamp:
Nov 29, 2017 7:57:58 AM (2 years ago)
Author:
steshaw
Comment:

Fixed a couple of GhcFile links

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/Backends/NCG

    v13 v14  
    1616After GHC has produced [wiki:Commentary/Compiler/CmmType Cmm] (use -ddump-cmm or -ddump-opt-cmm to view), the Native Code Generator (NCG) transforms Cmm into architecture-specific assembly code.  The NCG is located in [[GhcFile(compiler/nativeGen)]] and is separated into eight modules:
    1717
    18  * [[GhcFile(compiler/nativeGen/AsmCodeGen.lhs)]][[BR]]
    19    top-level module for the NCG, imported by [[GhcFile(compiler/main/CodeOutput.lhs)]]; also defines the Monad for optimising generic Cmm code, {{{CmmOptM}}}[[BR]][[BR]]
     18 * [[GhcFile(compiler/nativeGen/AsmCodeGen.hs)]][[BR]]
     19   top-level module for the NCG, imported by [[GhcFile(compiler/main/CodeOutput.hs)]]; also defines the Monad for optimising generic Cmm code, {{{CmmOptM}}}[[BR]][[BR]]
    2020 * [[GhcFile(compiler/nativeGen/MachCodeGen.hs)]][[BR]]
    2121   generates architecture-specific instructions (a Haskell-representation of assembler) from Cmm code[[BR]][[BR]]