DocumentCode
2099577
Title
Instruction selection, resource allocation, and scheduling in the AVIV retargetable code generator
Author
Hanono, Silvina ; Devadas, Srinivas
Author_Institution
Dept. of Electr. Eng. & Comput. Sci., MIT, MA, USA
fYear
1998
fDate
19-19 June 1998
Firstpage
510
Lastpage
515
Abstract
The AVIV retargetable code generator produces optimized machine code for target processors with different instruction set architectures. AVIV optimizes for minimum code size. Retargetable code generation requires the development of heuristic algorithms for instruction selection, resource allocation, and scheduling. AVIV addresses these code generation subproblems concurrently, whereas most current code generation systems address them sequentially. It accomplishes this by converting the input application to a graphical (Split-Node DAG) representation that specifies all possible ways of implementing the application on the target processor. The information embedded in this representation is then used to set up a heuristic branch-and-bound step that performs functional unit assignment, operation grouping, register bank allocation, and scheduling concurrently. While detailed register allocation is carried out as a second step, estimates of register requirements are generated during the first step to ensure high quality of the final assembly code. We show that near-optimal code can be generated for basic blocks for different architectures within reasonable amounts of CPU time. Our framework thus allows us to accurately evaluate the performance of different architectures on application code.
Keywords
assembly language; computer aided software engineering; high level synthesis; AVIV; heuristic algorithms; instruction selection; near-optimal code; optimized machine code; resource allocation; retargetable code generator; scheduling; Embedded system; Hardware; Heuristic algorithms; Job shop scheduling; Permission; Process design; Processor scheduling; Registers; Resource management; Scheduling algorithm;
fLanguage
English
Publisher
ieee
Conference_Titel
Design Automation Conference, 1998. Proceedings
Conference_Location
San Francisco, CA, USA
Print_ISBN
0-89791-964-5
Type
conf
Filename
724525
Link To Document