发明名称 System and method for selectively managing a branch target address cache of a multiple-stage predictor
摘要 A multiple stage branch prediction system includes a branch target address cache (BTAC) and a branch predictor circuit. The BTAC is configured to store a BTAC entry. The branch predictor circuit is configured to store state information. The branch predictor circuit utilizes the state information to predict the direction of a branch instruction and to manage the BTAC entry based on modified state information prior to resolution of the branch instruction.
申请公布号 US8782383(B2) 申请公布日期 2014.07.15
申请号 US201113281913 申请日期 2011.10.26
申请人 QUALCOMM Incorporated 发明人 Rychlik Bohuslav
分类号 G06F9/40;G06F9/38 主分类号 G06F9/40
代理机构 代理人 Kamarchik Peter Michael;Pauley Nicholas J.;Agusta Joseph
主权项 1. A multiple stage branch prediction system comprising: a first stage, the first stage including a branch target address cache (BTAC), the first stage configured to: store a BTAC entry corresponding to a conditional branch instruction; andpredict a first direction of the conditional branch instruction based on the BTAC entry; a second stage, the second stage configured to: store an entry associated with the conditional branch instruction;predict a second direction of the conditional branch instruction based on state information corresponding to the entry; andmodify state information corresponding to the entry, wherein the state information is modified after the conditional branch instruction is fetched and before the conditional branch instruction is resolved; and a logic circuit configured to: in response to a conflict between the first direction and the second direction before the conditional branch instruction is resolved, modify a position of the BTAC entry before the conditional branch instruction is resolved when the modified state information indicates that a predicted direction of the conditional branch instruction is predicted not taken, wherein the position of the BTAC entry is not modified when the modified state information indicates that the predicted direction of the conditional branch instruction is predicted taken.
地址 San Diego CA US