全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Branch prediction, predictor, misprediction penalty?

又称: branch prediction · branch predictor · misprediction penalty

Definition 11.11 University Computer Science — Year 2 · 第 11 章 — The Processor: Datapath, Control and Pipelining

Branch prediction lets the processor fetch past a conditional branch before it is resolved, along the direction a branch predictor guesses. When the guess is wrong, the instructions fetched since are discarded (flushed); the cycles lost are the misprediction penalty, here 2.

在原文中阅读 →