Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Forwarding?

Ook bekend als: bypassing

Definition 11.9 University Computer Science — Year 2 · Hoofdstuk 11 — The Processor: Datapath, Control and Pipelining

Forwarding (or bypassing) sends a result to the ALU’s input directly from a pipeline register, EX/MEM or MEM/WB, as soon as it has been computed, instead of waiting for it to be written to the register file and read again.

The forwarding paths. Each ALU input gets a multiplexer with three sources: the register value read in ID, the result in EX/MEM (solid: one instruction ahead), or the result in MEM/WB (dashed: two ahead). The forwarding unit drives them with the rule of .
The forwarding paths. Each ALU input gets a multiplexer with three sources: the register value read in ID, the result in EX/MEM (solid: one instruction ahead), or the result in MEM/WB (dashed: two ahead). The forwarding unit drives them with the rule of Listing 11.5.
The diagram of  drawn from the model’s output. The arrows are the forwarded values: from MEM/WB to an EX one cycle later (the two loads), and from EX/MEM (the add to the sw). Each stall slides every later instruction one column to the right.
The diagram of Output 11.4 drawn from the model’s output. The arrows are the forwarded values: from MEM/WB to an EX one cycle later (the two loads), and from EX/MEM (the add to the sw). Each stall slides every later instruction one column to the right.
Lees in het hoofdstuk →