A method and apparatus for adaptive multiple line prefetching. In one
embodiment, the method includes the identification of a prefetch depth.
As described herein, a prefetch depth may refer to a number of memory
lines to be prefetched to temporary (cache) memory. Once the prefetch
depth is identified, prefetching is performed according to the identified
prefetch depth. During the prefetching, the prefetching is adjusted as
changes in the prefetch depth are detected. Accordingly, the dynamic
adaptive multi-line prefetching mechanism described herein promotes
higher system performance by the use of a more efficient prefetching
mechanism.