发明名称 BRANCH PREDICTING METHOD AND RELATED APPARATUS
摘要 <p>A branch predicting method and a related apparatus. Applied in a server, the processor comprises: a first BTAC that stores information about a mapping between a register identifier and a predicted target jump-to address, and a second BTAC that stores information about a mapping between a field of a program counter and a predicted target jump-to address. The brand predicting method comprises: reading an instruction from an instruction buffer; if determining that the instruction satisfies a register prediction condition, obtaining a predicted target jump-to address of the instruction from the first BTAC according to a register identifier of the instruction; and if determining that the instruction does not satisfy the register prediction condition, obtaining a predicted target jump-to address of the instruction from the second BTAC according to a program counter of the instruction. Therefore, the problem that branch prediction accuracy is affected during BTAC sharing is effectively solved.</p>
申请公布号 WO2015024452(A1) 申请公布日期 2015.02.26
申请号 WO2014CN83882 申请日期 2014.08.07
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 HOU, RUI;FENG, YUJING;GUO, XUBIN;ZHANG, QIANLONG
分类号 G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址
您可能感兴趣的专利