Journal of the Korean Institute of Telematics and Electronics (대한전자공학회논문지)
- Volume 27 Issue 8
- /
- Pages.1211-1220
- /
- 1990
- /
- 1016-135X(pISSN)
The Design of A Register Allocation Phase for RISC Compilers
RISC 컴파일러 레지스터 할당부 설계
Abstract
This paper describes and implements a design method of register allocation as a required module of RISC compiler systems. It compiles a C program to a machine-independent intermediate language, translates each variable into symbolic register. After local allocation process for the symbolic registers, global register allocation is executed by applying the graph coloring algorithm. This register allocation phase is designed for a system with the large register file like RISC machines.
Keywords