摘要 |
<P>PROBLEM TO BE SOLVED: To accelerate processing even when input data changes while the processing. <P>SOLUTION: A method for optimizing register arrangement includes: referring to a conversion table including information about arrangement destinations and use frequencies of variables defined in a function of a program; based on the information about use frequencies of the variables, determining arrangement destinations of the variables in a register or a memory so as to preferentially arrange the variables with high use frequencies in the register; reflecting the determined arrangement destinations of the variables to the information of the arrangement destination of the variables included in the conversion table; based on the information of the arrangement destinations of the variables included in the conversion table, converting a pseudo-instruction code in which an arrangement destination of an operand of an operation instruction is not specified into an instruction code which can be executed by a processor core; and updating the information about use frequencies of the variables included in the conversion table, according to the variables to be used when the processor core executes the converted instruction code. <P>COPYRIGHT: (C)2013,JPO&INPIT |