| ▲ | gpderetta 18 hours ago | |||||||
Typical branch predictors can both learns patterns (even very long patterns) and use branch history (the probability of a branch being taken depends on the path taken to reach that branch). They don't normally look at data other than branch addresses (and targets for indirect branches). | ||||||||
| ▲ | jeffbee 18 hours ago | parent [-] | |||||||
They can't. The data that would be needed isn't available at the time the prediction is made. | ||||||||
| ||||||||