Linear scan. Register allocation презентация
Содержание
- 2. Introduction Register Allocation: The problem of mapping an unbounded number of
- 3. Motivation On-line compilers need generate code quickly Just-In-Time compilation Dynamic code
- 4. Definitions Live interval: A sequence of instructions, outside of which a
- 5. Ye Olde Graph Coloring Model allocation as a graph coloring problem
- 6. Linear Scan Algorithm Compute live variable analysis Walk through intervals in
- 7. Example With Two Registers 1. Active = < A >
- 8. Example With Two Registers 1. Active = < A > 2.
- 9. Example With Two Registers 1. Active = < A > 2.
- 10. Example With Two Registers 1. Active = < A > 2.
- 11. Example With Two Registers 1. Active = < A > 2.
- 12. Evaluation Overview Evaluate both compile-time and run-time performance Two Implementations ICODE
- 13. Compile-Time on ICODE ‘C Usage Counts, Linear Scan, and Graph Coloring
- 14. Compile-Time on SUIF Linear Scan allocation is around twice as fast
- 15. Pathological Cases N live variable ranges interfering over the entire program
- 16. Compile-Time Bottom Line Linear Scan is faster than Binpacking and
- 17. Run-Time on ICODE ‘C Usage Counts, Linear Scan, and Graph Coloring
- 18. Run-Time on SUIF / SPEC Usage Counts, Linear Scan, Graph Coloring
- 19. Evaluation Summary Linear Scan is faster than Binpacking and Graph
- 20. Conclusions Linear Scan is a faster alternative to Graph Coloring for
- 21. Questions?
- 22. Скачать презентацию




















Слайды и текст этой презентации
Похожие презентации