Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
BRANCH PREDICTION METHOD AND APPARATUS, PROCESSOR, MEDIUM, AND DEVICE
Document Type and Number:
WIPO Patent Application WO/2023/165185
Kind Code:
A1
Abstract:
A branch prediction method and apparatus, a processor, a medium, and a device. The branch prediction method comprises: acquiring an instruction block to be processed, the instruction block to be processed comprising at least one instruction (S210); performing detection on the instruction block to be processed according to branch instruction information stored in a branch target buffer (S220); if it is detected that the instruction block to be processed comprises a branch instruction, detecting the type of the branch instruction (S230); if the type of the branch instruction is other types other than a target type, searching the branch target buffer for a predicted hopping address of the branch instruction, wherein the target type comprises at least one of a function call type, a function return type, and a cycle type (S240); and if the type of the branch instruction is the target type, searching other address areas of a branch predictor for a predicted hopping address of the branch instruction (S250).

Inventors:
LI DONGSHENG (CN)
REN ZIMU (CN)
Application Number:
PCT/CN2022/134994
Publication Date:
September 07, 2023
Filing Date:
November 29, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TENCENT TECH SHENZHEN CO LTD (CN)
International Classes:
G06F9/38
Foreign References:
US20200081717A12020-03-12
US20200082280A12020-03-12
CN112470122A2021-03-09
CN111258649A2020-06-09
CN106997286A2017-08-01
Attorney, Agent or Firm:
ADVANCE CHINA IP LAW OFFICE (CN)
Download PDF: