发明名称 Block-based branch target buffer
摘要 The invention provides a method and apparatus for branch prediction in a processor. A fetch-block branch target buffer is used in an early stage of pipeline processing before the instruction is decoded, which stores information about a control transfer instruction for a "block" of instruction memory. The block of instruction memory is represented by a block entry in the fetch-block branch target buffer. The block entry represents one recorded control-transfer instruction (such as a branch instruction) and a set of sequentially preceding instructions, up to a fixed maximum length N. Indexing into the fetch-block branch target buffer yields an answer whether the block entry represents memory that contains a previously executed a control-transfer instruction, a length value representing the amount of memory that contains the instructions represented by the block, and an indicator for the type of control-transfer instruction that terminates the block, its target and outcome. Both the decode and execution pipelines include correction capabilities for modifying the block branch target buffer dependent on the results of the instruction decode and execution and can include a mechanism to correct malformed instructions.
申请公布号 US2006036836(A1) 申请公布日期 2006.02.16
申请号 US20050252029 申请日期 2005.10.17
申请人 METAFLOW TECHNOLOGIES, INC. 发明人 GELMAN ANATOLY;SCHNAPP RUSSELL L.
分类号 G06F15/00;G06F9/00 主分类号 G06F15/00
代理机构 代理人
主权项
地址