What does forwarding (bypassing) do in a pipelined processor?
Correct answer B. Sends an ALU result directly to a later instruction's input before it is written to the register file
Forwarding paths route a result from the EX/MEM or MEM/WB pipeline registers back to the ALU inputs, so a dependent instruction gets the value without waiting for write-back. This removes most RAW stalls. Inserting NOPs or stalling is the costlier alternative. Branch prediction addresses control hazards, and a second memory port addresses structural hazards.
Answer checked How we write and check questions
Discussion