Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Saturating counter?

Definition 11.12 University Computer Science — Year 2 · Bab 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.
Baca dalam konteks →