全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Saturating counter?

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

A two-bit saturating counter is a number from 0 to 3, incremented when the branch is taken and decremented when it is not, without going past 0 or 3; it predicts “taken” when it is 2 or 3.

The two-bit predictor of one branch as a finite-state machine: T when the branch is taken, N when it is not. A single surprise in state 3 or 0 moves the state but not the prediction.
The two-bit predictor of one branch as a finite-state machine: T when the branch is taken, N when it is not. A single surprise in state 3 or 0 moves the state but not the prediction.
在原文中阅读 →