Content area
Structured high-level languages are characterized by the procedures and the functions they use. The procedure calls and returns are the most time-consuming operations. When a procedure call occurs, a new set of registers, called a register window, is needed. If the register file is full or the number of free registers is not large enough, an overflow occurs. An optimal strategy is presented for managing the register file of high-level programming languages. This strategy minimizes the number of overflows, underflows, and memory traffic for the fixed-size, multiple-size, and variable-size window organization. It is possible to obtain different values corresponding to the different windows and register file sizes from the values obtained using this strategy. The results of a comparative study on different organizations modifying window and register-file size parameters are discussed.