Wavefront scheduling: path based data representation and scheduling of subgraphs
- 20 January 2003
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
The IA-64 architecture is rich with features that enable aggressive exploitation of instruction-level parallelism. Features such as speculation, predication, multiway branches and others provide compilers with new opportunities for the extraction of parallelism in programs. Code scheduling is a central component in any compiler for the IA-64 architecture. This paper describes the implementation of the global code scheduler (GCS) in Intel's reference compiler for the IA-64 architecture. GCS schedules code over acyclic regions of control flow. There is a tight coupling between the formation and scheduling of regions. GCS employs a new path based data dependence representation that combines control flow and data dependence information to make data analysis easy and accurate. This paper provides details of this representation. The scheduler uses a novel instruction scheduling technique called Wavefront scheduling. The concepts of wavefront scheduling and deferred compensation are explained to demonstrate the efficient generation of compensation code while scheduling. This paper also presents P-ready code motion, an opportunistic instruction level tail duplication which aims to strike a balance between code expansion and performance potential. Performance results show greater than 30% improvement in speedup for wavefront scheduling over basic block scheduling on the Merced microarchitecture.Keywords
This publication has 7 references indexed in Scilit:
- An Efficient Resource-constrained Global Scheduling Technique For Superscalar And Vliw ProcessorsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Treegion scheduling for wide issue processorsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- The superblock: An effective technique for VLIW and superscalar compilationThe Journal of Supercomputing, 1993
- Code duplicationPublished by Association for Computing Machinery (ACM) ,1991
- Global instruction scheduling for superscalar machinesPublished by Association for Computing Machinery (ACM) ,1991
- The program dependence graph and its use in optimizationACM Transactions on Programming Languages and Systems, 1987
- Trace Scheduling: A Technique for Global Microcode CompactionIEEE Transactions on Computers, 1981