ADAPTIVE DATA PREFETCH
First Claim
Patent Images
1. A computer-implemented method performed by a processor having a cache, the method comprising:
- prefetching data associated with a load instruction of a computer program, wherein said prefetching is performed in anticipation to performing the load instruction, whereby the data is retained in the cache;
detecting whether the prefetched data of said prefetching is invalidated after said prefetching commenced and prior to performing the load instruction; and
adaptively determining whether to modify the prefetching data operation associated with the load instruction in response to said detection.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus and product for data prefetching. The method comprising: prefetching data associated with a load instruction of a computer program, wherein the prefetching is performed in anticipation to performing the load instruction, whereby the data is retained in the cache; detecting whether the prefetched data of the prefetching is invalidated after the prefetching commenced and prior to performing the load instruction; and adaptively determining whether to modify the prefetching data operation associated with the load instruction in response to the detection.
26 Citations
19 Claims
-
1. A computer-implemented method performed by a processor having a cache, the method comprising:
-
prefetching data associated with a load instruction of a computer program, wherein said prefetching is performed in anticipation to performing the load instruction, whereby the data is retained in the cache; detecting whether the prefetched data of said prefetching is invalidated after said prefetching commenced and prior to performing the load instruction; and adaptively determining whether to modify the prefetching data operation associated with the load instruction in response to said detection. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computerized apparatus comprising:
-
a memory, which is arranged to hold a computer program having a load instruction, wherein said memory is operatively coupled to a cache; and a processor, having an associated cache, which is arranged to; prefetch data associated with a load instruction of a computer program, wherein the prefetching is performed in anticipation to performing the load instruction, whereby the data is retained in the cache; detect whether the prefetched data is invalidated after the prefetching commenced and prior to performing the load instruction; and adaptively determine whether to modify the prefetching data operation associated with the load instruction in response to the detection. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A computer program product comprising:
-
a non-transitory computer readable medium; a first program instruction for prefetching data associated with a load instruction of a computer program, wherein said prefetching is performed in anticipation to performing the load instruction, whereby the data is retained in the cache; a second program instruction for detecting whether the prefetched data of said prefetching is invalidated after said prefetching commenced and prior to performing the load instruction; a third program instruction for adaptively determining whether to modify the prefetching data operation associated with the load instruction in response to said detection; and wherein said first, second, and third program instructions are stored on said non-transitory computer readable medium.
-
Specification