发明名称 SUPPRESSING UPDATE OF A BRANCH HISTORY REGISTER BY LOOP-ENDING BRANCHES
摘要 Conditional branch instructions that terminate code loops are detected, and a Branch History Register (BHR) is prevented from updating to store the loop-ending branch evaluations. This prevents the branch that implements loop iterations from displacing other branch evaluation histories from the BHR. The loop-ending branch may be detected statically, by a compiler using a specific type branch instruction or inserting indicator bits in the op code of a loop-ending branch instruction. A loop-ending branch instruction may be detected dynamically as any backwards branch, or by storing the PC of the last one or several branch instructions upon updating the BHR, and checking the PC of a branch instruction against the Last Branch PC (LBPC) register(s). If the branch PC matches, update of the BHR is suppressed. Keeping loop iteration branches out of the BHR improves branch prediction training time and accuracy.
申请公布号 KR20070105365(A) 申请公布日期 2007.10.30
申请号 KR20077021427 申请日期 2006.02.24
申请人 QUALCOMM INCORPORATED 发明人 RYCHLIK BOHUSLAV
分类号 G06F9/32 主分类号 G06F9/32
代理机构 代理人
主权项
地址