发明名称 Method and apparatus for clearing hazards using jump instructions
摘要 A method and apparatus for overlaying hazard clearing with a jump instruction within a pipeline microprocessor is described. The apparatus includes hazard logic to detect when a jump instruction specifies that hazards are to be cleared as part of a jump operation. If hazards are to be cleared, the hazard logic disables branch prediction for the jump instruction, thereby causing the jump instruction to proceed down the pipeline until it is finally resolved, and flushing the pipeline behind the jump instruction. Disabling of branch prediction for the jump instruction effectively clears all execution and/or instruction hazards that preceded the jump instruction. Alternatively, hazard logic causes issue control logic to stall the jump instruction for n-cycles until all hazards are cleared. State tracking logic may be provided to determine whether any instructions are executing in the pipeline that create hazards. If so, hazard logic performs normally. If not, state tracking logic disables the effect of the hazard logic.
申请公布号 US2006101255(A1) 申请公布日期 2006.05.11
申请号 US20050284069 申请日期 2005.11.21
申请人 MIPS TECHNOLOGIES, INC. 发明人 JEPPESEN NIELS G.;UHLER G. M.
分类号 G06F9/38;G06F9/44;G06F9/00;G06F9/30 主分类号 G06F9/38
代理机构 代理人
主权项
地址