1
\$\begingroup\$

How is the flushing really implemented? I have an idea that on conditional branches, the prior instructions are flushed. But how are they actually flushed?

\$\endgroup\$
0

1 Answer 1

1
\$\begingroup\$

They are not actually removed from the pipeline.
They are shifted out as the new instructions are shifted in, but there is logic which takes care that they are not "executed". Thus the system stays in the state it was when the 'flush' started.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.