Instruction prefetching method, device and medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsChao TANG, Xueliang DU, Yingnan XU
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsChao TANG, Xueliang DU, Yingnan XU
Estimating the term…
The present disclosure discloses an instruction prefetching method, a device and a medium. The present disclosure relates to a data storage technology, the method includes the following. Instructions in a target buffer are precompiled before a processor core fetches a required instruction from the target buffer corresponding to the processor core; if it is determined that a jump instruction exists in the target buffer and a branch instruction corresponding to the jump instruction is not cached in the target buffer according to a precompiled result, the branch instruction is prefetched from an icache into a candidate buffer corresponding to the processor core to wait for the processor core to fetch the branch instruction from the candidate buffer; the target buffer and the candidate buffer are alternately reused during instruction prefetching.
An instruction prefetching method, comprising:
An electronic device, comprising:
A non-transitory computer readable storage medium, having computer instructions stored thereon for causing a computer to perform the instruction prefetching method, comprising:
Dependencies are inferred from the claim text.