Instruction Code Selection
In this chapter, we introduce how SSA form can be used for instruction selection. Instruction selection translates a machine-independent intermediate code representation into a low-level intermediate representation or into machine code. Classical techniques specialize for specific target architectur...
Saved in:
| Published in | SSA-based Compiler Design pp. 257 - 268 |
|---|---|
| Main Authors | , , |
| Format | Book Chapter |
| Language | English |
| Published |
Cham
Springer International Publishing
2022
|
| Subjects | |
| Online Access | Get full text |
| ISBN | 303080514X 9783030805142 |
| DOI | 10.1007/978-3-030-80515-9_19 |
Cover
| Summary: | In this chapter, we introduce how SSA form can be used for instruction selection. Instruction selection translates a machine-independent intermediate code representation into a low-level intermediate representation or into machine code. Classical techniques specialize for specific target architectures and limit the scope to statement level. In this chapter, we present an optimal technique for intra-procedural instruction selection that uses partitioned Boolean quadratic optimization. The presented approach goes beyond limitations such as instruction selection expressed as trees and permits complex acyclic graph patterns in order to find the most suitable complex instructions in an instruction set. Such instructions can have multiple inputs and results at the same time. |
|---|---|
| ISBN: | 303080514X 9783030805142 |
| DOI: | 10.1007/978-3-030-80515-9_19 |