Changes between Version 3 and Version 4 of Commentary/Rts/Cmm


Ignore:
Timestamp:
Oct 15, 2006 10:27:48 PM (8 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/Cmm

    v3 v4  
    66 
    77We use the C preprocessor on `.cmm` files, making extensive use of macros to make writing this low-level code a bit less tedious and error-prone.  Most of our C-- macros are in [[GhcFile(includes/Cmm.h)]]. 
    8  
    9 == Additions over C-- == 
    10  
    11 The `.cmm` syntax includes the  
    12 {{{ 
    13 foreign "C" cfunctionname(R1) [R2]; 
    14 }}} 
    15  
    16 I think the [R2] part is the (set of) register(s) that you need to save over the call. 
    17