发明名称 Branch predictor index generation using varied bit positions or bit order reversal
摘要 An indirect branch predictor includes a buffer storing branch target addresses corresponding to previously executed indirect branch instructions. The buffer is indexed with an index derived from history information corresponding to previously predicted indirect branch instructions and from the PC of the particular indirect branch instruction being predicted. In one embodiment, the buffer may be tagless and/or direct mapped. In various embodiments, the indirect branch target predictor may generate the index to the buffer using one or more techniques to improve the accuracy of the prediction: (i) offsetting the history information from the various previously predicted indirect branch instructions; (ii) weighting the history information based on the age of the previously predicted indirect branch instructions; and/or (iii) reversing the bit order of the PC of the particular indirect branch instruction being predicted. In one embodiment, the indirect branch predictor may include a second buffer indexed by a portion of the PC of the particular indirect branch instruction being predicted. The second buffer may store target addresses corresponding to previously executed indirect branch instructions and prediction selection information which may be used to select a target address prediction from one of the buffer and the second buffer. The second buffer may accurately predict indirect branch instructions whose target addresses are relatively fixed, using the buffer indexed by history information to predict the indirect branch instructions having more frequently changing indirect targets.
申请公布号 US6721876(B1) 申请公布日期 2004.04.13
申请号 US20000578954 申请日期 2000.05.25
申请人 ADVANCED MICRO DEVICES, INC. 发明人 CHEN I-CHENG K.;MATUS FRANCIS M.
分类号 G06F7/00;G06F9/38;G06F15/00;(IPC1-7):G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利