Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Instruction pipeline, instructions per cycle?

Ook bekend als: instruction pipeline · instructions per cycle

Definition 2.1 Low-Latency Software · Hoofdstuk 2 — CPU Microarchitecture

An instruction pipeline splits the execution of an instruction into stages (fetch, decode, rename, schedule, execute, retire), each handled by its own hardware, so that many instructions are in flight at once, each in a different stage. A superscalar pipeline handles several instructions per stage per cycle. Instructions per cycle (IPC) is the number of instructions a core completes in a cycle of its clock, averaged over a piece of code.

The pipeline of an out-of-order core, simplified. Instructions enter and leave in program order; in between, the scheduler starts each one as soon as its inputs are ready, and the reorder buffer keeps the program’s order for retirement. A mispredicted branch discards every instruction fetched after it.
Figure 2.1. The pipeline of an out-of-order core, simplified. Instructions enter and leave in program order; in between, the scheduler starts each one as soon as its inputs are ready, and the reorder buffer keeps the program’s order for retirement. A mispredicted branch discards every instruction fetched after it.
Lees in het hoofdstuk →