Changes between Version 21 and Version 22 of Commentary/PrimOps


Ignore:
Timestamp:
Feb 28, 2013 5:24:31 AM (2 years ago)
Author:
ezyang
Comment:

update to new codegen

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/PrimOps

    v21 v22  
    4949=== Inline !PrimOps ===
    5050
    51 Inline !PrimOps are operations that can be compiled into a short sequence of code that never needs to allocate, block, or return to the scheduler for any reason.  An inline !PrimOp is compiled directly into [wiki:Commentary/Compiler/Cmm Cmm] by the [wiki:Commentary/Compiler/CodeGen code generator].  The code for doing this is in [[GhcFile(compiler/codeGen/CgPrimOp.hs)]].
     51Inline !PrimOps are operations that can be compiled into a short sequence of code that never needs to allocate, block, or return to the scheduler for any reason.  An inline !PrimOp is compiled directly into [wiki:Commentary/Compiler/Cmm Cmm] by the [wiki:Commentary/Compiler/CodeGen code generator].  The code for doing this is in [[GhcFile(compiler/codeGen/StgCmmPrim.hs)]].
    5252
    5353=== Out-of-line !PrimOps ===
     
    8989
    9090 * if the primop is inline, then:
    91    [[GhcFile(compiler/codeGen/CgPrimOp.hs)]] defines the translation of
     91   [[GhcFile(compiler/codeGen/StgCmmPrim.hs)]] defines the translation of
    9292   the primop into {{{Cmm}}}.
    9393