PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] follow-up to pipeline
Date: Sunday, 22 Nov 2020, 07:36:05


    > Message Posted By: Unknown
    >
    > Can you explain why bypass means the ALU has to store the last 2 values
    > calculated and not just 1?

The last value is needed to avoid a data hazard for the
sequence

  r1 <- r2 + r3
  r4 <- r1 + r5

but not enough for the sequence

  r1 <- r2 + r3
  r6 <- r7 + r8
  r4 <- r1 + r5

--Stan-
PREV INDEX NEXT