Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Forwarding » ?

Aussi appelé : bypassing

Definition 11.9 University Computer Science — Year 2 · Chapitre 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.
Lire dans le chapitre →