摘要 |
PROBLEM TO BE SOLVED: To provide a method and device for efficiently accessing a memory accessed by a triple loop included in a program. SOLUTION: A memory access method includes: obtaining a, b, and c from a program code for accessing a memory with a triple loop in a program (a is the number of values which the innermost loop variable of the triple loop may have, and b is the number of values which a middle loop variable of the triple loop may have, and c is the number of values which the outermost loop variable of the triple loop may have); obtaining a start address of the memory accessed by the triple loop; and obtaining a×b×c number of addresses of the memory accessed by the triple loop using the start address and a function. COPYRIGHT: (C)2008,JPO&INPIT
|