My computer organization and architecture claims that with 1-bit predictor, there are 2 mispredicts.

The first miss is when mistaken on last iteration of inner loop.

The second one is as not taken on first iteration of inner loop next time around.

I can't get why the second one occurred.

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.