Changes between Version 28 and Version 29 of Commentary/PrimOps


Ignore:
Timestamp:
Oct 23, 2013 11:25:41 AM (21 months ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/PrimOps

    v28 v29  
    6565   C-- code for these !PrimOps: we don't have to write code for multiple calling conventions. 
    6666 
    67 === Foreign out-of-line !PrimOps === 
     67=== Foreign out-of-line !PrimOps and `foreign import prim` === 
    6868 
    6969A new and somewhat more flexible form of out-of-line !PrimOp is the foreign out-of-line !PrimOp. These are essentially the same but instead of their Cmm code being included in the RTS, they can be defined in Cmm code in any package and instead of knowledge of the !PrimOp being baked into the compiler, they can be imported using special FFI syntax: