Changes between Version 17 and Version 18 of Commentary/Compiler/Backends/NCG/RegisterAllocator
- Timestamp:
- 09/19/07 05:46:25 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/Backends/NCG/RegisterAllocator
v17 v18 84 84 85 85 * '''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 graph s 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}}} 87 87 88 88 {{{ … … 95 95 [attachment:graph-colored.dot] -> [attachment:graph-colored.png] 96 96 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. 98 99 99 100 == Possible Improvements ==
