发明名称 MEMORY ACCESS OPTIMIZATION METHOD
摘要 PROBLEM TO BE SOLVED: To provide a method for applying a batch load/store command, in generating a code for an architecture for collectively loading or storing a plurality of data sets which continue on a memory, when an array reference in a loop does not satisfy address boundary conditions of the collective load/store command. SOLUTION: With respect to an array reference included in a loop, it is determined whether a first reference address of the loop satisfies the address boundary conditions of the batch load/store command. If not, a transfer code between a work array satisfying the boundary conditions and the array is prepared, and the array reference in the loop is replaced by the reference of the work array. In preparing the transfer code, if the reference of the array in the loop is in use, a code for copying the value of the array onto the work array is inserted in front of the loop; and if the reference of the array in the loop is a definition, the code for copying the value of the array onto the work array is inserted at the rear of the loop.
申请公布号 JP2002312178(A) 申请公布日期 2002.10.25
申请号 JP20010119020 申请日期 2001.04.18
申请人 HITACHI LTD 发明人 MOTOKAWA KEIKO;NISHIYAMA HIROYASU
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址