Smart-prefetch
First Claim
Patent Images
1. A method comprising:
- computing an effective memory latency of a system;
using said effective memory latency to compute an effective address from which to prefetch data; and
, performing a “
work in the loop”
(WL) computation to generate a smart prefetch request.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for the smart prefetching of instructions is disclosed. The method includes computing an effective memory latency of a request for data and using the effective memory latency to compute an effective address from which to prefetch data.
-
Citations
26 Claims
-
1. A method comprising:
-
computing an effective memory latency of a system;
using said effective memory latency to compute an effective address from which to prefetch data; and
,performing a “
work in the loop”
(WL) computation to generate a smart prefetch request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 11, 12, 13, 14)
-
-
8. A method comprising:
-
computing an effective memory latency of a system, said computing said effective memory latency is done during the execution of a computer program on said system;
using said effective memory latency to compute an effective address from which to prefetch data;
notifying a processor of a load stream in memory, wherein said load stream defines data which is prefetchable;
providing said processor with an address of said load stream;
generating a smart-prefetch instruction for said load stream, wherein said notifying and said providing are accomplished with said smart-prefetch instruction;
during the execution of said computer program, generating a smart-prefetch request from said smart-prefetch instruction; and
updating said smart prefetch request with said effective memory latency;
computing a time between consecutive requests of data in said load stream to define a “
work in the loop”
(WL); and
updating said smart prefetch request with said WL. - View Dependent Claims (9, 10)
-
-
15. A system, comprising:
-
a memory;
a processor coupled to said memory, said processor comprising a smart-prefetch unit configured to use a run-time memory latency to compute an effective address from which to prefetch data, said smart-prefetch unit comprising a “
work in the loop”
(WL) computation module. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
-
23. A system, comprising:
-
a memory;
a processor coupled to said memory, said processor comprising a smart-prefetch unit configured to use a run-time memory latency to compute an effective address from which to prefetch data, the smart-prefetch unit including a work in the loop computation module;
means for computing a time interval between a memory request for data and an arrival of said data by said processor;
means for computing a time between two consecutive prefetches executed for a smart-prefetch request issued by said processor;
means for computing a ratio of said time interval computed by said effective memory latency computation module to said time between two consecutive smart-prefetches computed by said work in the loop computation module; and
means for adding a current effective address with the product of said ratio and a cache line size to define an effective address from which to prefetch data.
-
-
24. A computer program product encoded in computer readable media, said computer program product comprising:
-
a first set of instructions, executable on a computer system, configured to generate a smart-prefetch instruction for a load stream of data defined in a computer program, and a second set of instructions, executable on said computer system, configured to perform a “
work in the loop”
(WL) computation. - View Dependent Claims (25, 26)
-
Specification