摘要 |
<p>PROBLEM TO BE SOLVED: To provide technology for reducing the overhead of a constant load in a RISC processor.SOLUTION: An overhead reduction system creates, on the basis of constants used in a code area in compile units, candidates for a plurality of constants to be stored in one or more constant registers (S302); estimates, for each of the constant candidates, the effect of overhead reduction realized by generating a constant used in the code area by using the constant candidates (S304); determines, on the basis of the estimation result, a constant constituting the base to be loaded into the constant register (S306); and loads the constant constituting the base into the constant register at entry to the code area, and generates a constant used in the code area by using the value of the constant register (S308).</p> |