发明名称 Branch prediction entry with target line index calculated using relative position of second operation of two step branch operation in a line of instructions
摘要 A computing system contains an apparatus having an instruction memory to store a plurality of lines of a plurality of instructions, and a branch memory to store a plurality of branch prediction entries, each branch prediction entry containing information for predicting whether a branch designated by a branch instruction stored in the instruction memory will be taken when the branch instruction is executed. Each branch prediction entry includes a branch target field for indicating a target address of a line containing a target instruction to be executed if the branch is taken, a destination field indicating where the target instruction is located within the line indicated by the branch target address, and a source field indicating where the branch instruction is located within the line corresponding to the target address. A counter stores an address value used for addressing the instruction memory, and an incrementing circuit increments the address value in the counter for sequentially addressing the lines in the instruction memory during normal sequential operation. A counter loading circuit loads the target address into the counter when the branch prediction entry predicts the branch designated by the branch instruction stored in the instruction memory will be taken when the branch instruction is executed, causing the line containing the target instruction to be fetched and entered into the pipeline immediately after the line containing the branch instruction. An invalidate circuit invalidates any instructions following the branch instruction in the line containing the branch instruction and prior to the target instruction in the line containing the target instruction.
申请公布号 US6247124(B1) 申请公布日期 2001.06.12
申请号 US19990363635 申请日期 1999.07.30
申请人 MIPS TECHNOLOGIES, INC. 发明人 JOSHI CHANDRA;RODMAN PAUL;HSU PETER;NOFAL MONICA R.
分类号 G06F9/32;G06F9/38;(IPC1-7):G06F9/32 主分类号 G06F9/32
代理机构 代理人
主权项
地址