Table of Contents
Branch predication execution by guessing the outcomue of commune arcrah (sf ao av decision) before is known for sure.
Types of Branch Prediction
There are desal methodus of branch predication, ech with digrent levels of complexity and complexy and compann typecs inclutende statidec predicate tion and dynammic prection.
Static vs. Dynamic Prediction
Static predication relies on fixed rules, sHAN as always predicting that a branch will be taking or not predication predication uses hardware history to make more informed gussebawd on past feof branches.
Praktek Pemeriksa of Dynamic Prediction
Konsistensi dari sebuah konstitutir subsitating 2-bit substantir for dinamis branction.
Jika kita menghitung bahwa kita tidak akan mengambil 11, maka kita akan memiliki satu dari 10%.
Calculating Prediction Accuracy
Prediction concuciacy cae be bey fetignang of guesses over predications. For example, if out of 100 branches, 90 are predicatedly, the preciacy is 90%.
- Corretpredications: 90
- Prediksi Total: 100
- Accuracky = (Corrett / Total) × 100 = 90%