发明名称 EMULATION D'INSTRUCTION DE BRANCHEMENT
摘要 A method and apparatus that utilizes a simple test and flush mechanism to implement branch instructions of one Instruction Set Architecture (ISA) using instructions of another ISA is described. During the decoding and sequencing of microinstructions to implement a branch instruction, a fix-up address, which represents the remedial branch target in the event of a mispredicted target or branch condition, is determined and stored. A test condition is set to determine if the prediction or the branch condition was correct. When the test condition fails, the instruction execution pipeline is immediately flushed to avoid executing any instruction remaining in the pipeline following the branch instructions. The flushing of the pipeline signals the instruction fetch control mechanism to redirect the instruction flow to the instruction corresponding to the fix-up address. A method and apparatus according to the present invention further allows flushing of the pipeline when conditions other than ones involved in branch instructions occurs, e.g., to flush stale instructions.
申请公布号 FR2805367(B1) 申请公布日期 2008.06.20
申请号 FR20000012527 申请日期 2000.10.02
申请人 HEWLETT PACKARD COMPANY 发明人 BROCKMANN RUSSEL C;KNEBEL PATRICK;SAFFORD KEVIN DAVID;BHATIA ROTH
分类号 G06F12/02;G06F9/22;G06F9/318;G06F9/32;G06F9/38 主分类号 G06F12/02
代理机构 代理人
主权项
地址
您可能感兴趣的专利