METHOD AND APPARATUS FOR BRANCH PREDICTION BASED ON BRANCH TARGETS
摘要
Methods and apparatus are provided for branch prediction in a digital processor. A method includes providing a branch target buffer having a tag array and a data array, wherein each entry in the tag array provides an index to a corresponding entry in the data array, storing in a selected entry in the tag array information representative of a branch target of a current branch instruction, storing in a corresponding entry in the data array information representative of a branch target of a next branch instruction, and providing the information representative of the branch target of the next branch instruction in response to a match to an entry in the tag array. The information representative of the branch target of the next branch instruction may include a taken branch target address of the next branch instruction and an offset value. The offset value may represent an address of a next sequential instruction following the next branch instruction.
申请公布号
WO2004086219(A9)
申请公布日期
2004.12.09
申请号
WO2004US08438
申请日期
2004.03.19
申请人
ANALOG DEVICES, INC.;TRAN, THANG, M.;SINGH, RAVI, PRATAP;DURAISWAMY, DEEPA;KANNAN, SRIKANTH