Register allocation method and system for program compiling
Abstract
Disclosed is a data processing system and method. The data processing method determines the number of static registers and the number of rotating registers for assigning a register to a variable contained in a certain program, assigns the register to the variable based on the number of the static registers and the number of the rotating registers, and compiles the program. Further, the method stores in the special register a value corresponding to the number of the rotating registers in the compiling operation, and obtains a physical address from a logical address of the register based on the value. Accordingly, the present invention provides an aspect of efficiently using register files by dynamically controlling the number of rotating registers and the number of static registers for a software pipelined loop, and has an effect capable of reducing the generations of spill/fill codes unnecessary during program execution to a minimum.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A data processing method, comprising: a. determining a number of static registers and a number of rotating registers for assigning a register to a variable contained in a certain program, assigning the register to the variable based on the number of the static registers and the number of the rotating registers, and compiling the certain program; and b. executing the compiled program, c. wherein the number of the static registers and the number of the rotating registers are determined for every loop contained in the compiled program, and d. wherein the executing of the complied program comprise
- Claim 2Depends on #1
The method as claimed in claim 1 , wher
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗