摘要 |
PROBLEM TO BE SOLVED: To substantially effectively prevent collision on a cache memory between various procedures or the cache miss of a procedure to be frequency used. SOLUTION: In a program converting method, dynamic information related with a procedure is collected by compiling an original program into a temporary rearrangeable target program which can be arranged for each procedure, and memory access information indicating relative positions in the procedure to which an actually extracted instruction code is belonging is generated. When the number of areas where the instruction codes corresponding to the memory access information are continuously present is one, the area is decided as a valid area, and in the other case, the minimum area including all the plural areas is decided as the valid area, and which storage area of a main storage device the procedure should be stored in is decided so that any collision can be prevented from being generated on a cache line between the valid areas based on the dynamic information, and the target program is generated based on the result of the decision.
|