摘要 |
<p>Disclosed are a data prefetching method and system, so as to overcome the shortage in the prior art that pre-execution and stride prefetching are not favorably integrated. The method comprises: a stride prefetching device monitoring a secondary cache failure access sequence, and triggering a prefetching request upon capturing a stride accessing mode; a processor backing up the current state of a register when a secondary cache access failure is monitored, converting into a pre-execution mode, executing a subsequent instruction of the instruction subjected to the secondary cache access failure, precisely prefetching an irregular access mode to obtain a pre-execution result and a valid state thereof, storing the pre-execution result and the valid state thereof in a buffer, and extracting useful information from the captured true access information to guide the stride prefetching device to immediately transmit a prefetching request; and the processor emptying a flow line after the secondary cache failure instruction triggering the pre-execution finishes the main memory access, recovering the register state that is backed up, and continuing execution by starting from the access instruction triggering the pre-execution. The present invention effectively increase the access delay tolerance capability of the processor.</p> |
申请人 |
BEIJING PKUNITY MICROSYSTEMS TECHNOLOGY CO., LTD.;JINAN PKUNITY INFORMATION TECHNOLOGY CO., LTD.;CHENG, XU;DANG, XIANGLEI;WANG, XIAOYIN;TONG, DONG;LU, JUNLIN;WANG, KEYI |
发明人 |
CHENG, XU;DANG, XIANGLEI;WANG, XIAOYIN;TONG, DONG;LU, JUNLIN;WANG, KEYI |