全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Forwarding?

又称: bypassing

Definition 11.9 University Computer Science — Year 2 · 第 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.
在原文中阅读 →