Dynamically controlling a prefetching range of a software controlled cache
AssigneeInternational Business Machines Corporation
InventorsTong Chen, Marc Gonzalez tallada, Zehra N. Sura, Tao Zhang
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsTong Chen, Marc Gonzalez tallada, Zehra N. Sura, Tao Zhang
Estimating the term…
Dynamically controlling a prefetching range of a software controlled cache is provided. A compiler analyzes source code to identify at least one of a plurality of loops that contain irregular memory references. For each irregular memory reference in the source code, the compiler determines whether the irregular memory reference is a candidate for optimization. Responsive to identifying an irregular memory reference that may be optimized, the complier determines whether the irregular memory reference is valid for prefetching. If the irregular memory reference is valid for prefetching, a store statement for an address of the irregular memory reference is inserted into the at least one loop. A runtime library call is inserted into a prefetch runtime library to dynamically prefetch the irregular memory references. Data associated with the irregular memory references are dynamically prefetched into the software controlled cache when the runtime library call is invoked.
A method, in a data processing system, for dynamically controlling a prefetching range of a software controlled cache, the method comprising:
A computer program product comprising a non-transitory computer readable medium storing a computer readable program recorded thereon, wherein the computer readable program, when executed on a computing device, causes the computing device to:
An apparatus, comprising:
Dependencies are inferred from the claim text.