摘要 |
PROBLEM TO BE SOLVED: To reduce the execution frequency of a prefetch starting command to speed up program execution by inserting, to a data stream within multiple loops, the prefetch starting command just before the outermost loop in which the prefetch starting command is continuously referred to. SOLUTION: For prefetch object data belonging to a loop, loops outside the loop the data belongs to are successively traced to detect the outermost loop of loops such that the object data is continuously accessed between iterations of all loops inside the loop, and a prefetch starting command to the data stream the detected whole loop refers to is generated and inserted thereto. COPYRIGHT: (C)2007,JPO&INPIT
|