Changes between Version 17 and Version 18 of Commentary/Compiler/Backends/NCG/RegisterAllocator


Ignore:
Timestamp:
Sep 19, 2007 12:46:25 PM (7 years ago)
Author:
guest
Comment:

add to hacking

Legend:

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

    v17 v18  
    8484 
    8585 * '''Visualisation of conflict graphs'''[[BR]] 
    86    Graphviz, available from [http://www.graphviz.org] can be used to make nice visualisations of the register conflict graphs. Use {{{-ddump-asm-regalloc-stages}}}, and copy one of the graphs into a new file {{{niceGraph.dot}}} 
     86   Graphviz, available from [http://www.graphviz.org] can be used to make nice visualisations of the register conflict graphs. Use {{{-ddump-asm-regalloc-stages}}}, and copy one of the graph descriptions into a new file {{{niceGraph.dot}}} 
    8787 
    8888  {{{  
     
    9595   [attachment:graph-colored.dot] -> [attachment:graph-colored.png] 
    9696 
    97  * checkSpills 
     97 * '''checkSpills'''[[BR]] 
     98   [attachment:checkSpills.hs] is a nasty, throw away script which can be used to automate the comparison of allocation algorithms. Copy it and a list of test like [attachment:checkSpills.tests] to the top level nofib directory, compile and run. It will build the nofib benchmarks in the list 6 times each, once each with each of the allocators to extract spill counts, and then once again to get compile timings which are unperterbed by the space leaks introduced by compiling with debugging turned on. It's only needed if you're hacking on the allocator, parses the nofib make output directly, and is likely to rot - which is why it isn't included in the main source tree. 
    9899 
    99100== Possible Improvements ==