-
公开(公告)号:US20230049662A1
公开(公告)日:2023-02-16
申请号:US17973427
申请日:2022-10-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Sang Wook Do , Wei-Yu Chen , Norris Liu
IPC: G06F12/0862 , G06F12/0811 , G06F9/32
Abstract: The disclosure relates to technology for pre-fetching data. An apparatus comprises a processor core, pre-fetch logic, and a memory hierarchy. The pre-fetch logic is configured to generate cache pre-fetch requests for a program instruction identified by a program counter. The pre-fetch logic is configured to track one or more statistics with respect to the cache pre-fetch requests. The pre-fetch logic is configured to link the one or more statistics with the program counter. The pre-fetch logic is configured to determine a degree of the cache pre-fetch requests for the program instruction based on the one or more statistics. The memory hierarchy comprises main memory and a hierarchy of caches. The memory hierarchy further comprises a memory controller configured to pre-fetch memory blocks identified in the cache pre-fetch requests from a current level in the memory hierarchy into a higher level of the memory hierarchy.