US 11,853,220 B2
Prefetcher training
Natalya Bondarenko, Antibes (FR); Stefano Ghiggini, Antibes (FR); Damien Matthieu Valentin Cathrine, Mougins (FR); and Ugo Castorina, Antibes (FR)
Assigned to Arm Limited, Cambridge (GB)
Filed by Arm Limited, Cambridge (GB)
Filed on Oct. 14, 2021, as Appl. No. 17/501,272.
Prior Publication US 2023/0121686 A1, Apr. 20, 2023
Int. Cl. G06F 12/0862 (2016.01); G06F 12/0891 (2016.01); G06F 13/16 (2006.01); G06F 12/02 (2006.01); G06F 18/214 (2023.01)
CPC G06F 12/0862 (2013.01) [G06F 12/0238 (2013.01); G06F 12/0891 (2013.01); G06F 13/1621 (2013.01); G06F 13/1668 (2013.01); G06F 18/214 (2023.01)] 15 Claims
OG exemplary drawing
 
1. An apparatus, comprising:
a cache configured to store information, items of information in the cache associated with addresses;
cache lookup circuitry configured to perform lookups in the cache; and
a prefetcher configured to prefetch items of information into the cache in advance of an access request being received for said items of information,
wherein the prefetcher is configured to select addresses to train the prefetcher, and
in response to determining that both:
a given cache lookup specifying a given address has resulted in a hit, and
a previous cache lookup for the given address previously performed before the given cache lookup in response to a prefetch request issued by the prefetcher resulted in a hit,
the prefetcher is configured to select the given address as an address to be used to train the prefetcher.