Liste des Groupes | Revenir à c arch |
Instead of verifying you got the right Target address (62-bits) you>I don't understand the "thus not needing prediction". Loading IP fromIt is not that these things don't need prediction, it is that you do the
memory takes time, doesn't it? Depending on your memory hierarchy and
where the data is held, I'd say a minimum of 3 cycles and often more.
What do you do during those cycles?
prediction and then verify the prediction using different data.
I see, so you still need something similar to a BTB for operations like
JTT, but the delay until you can verify the prediction is shorter, which
should presumably reduce the cost of mispredictions.
Yes, but you use the predicted index number to find the predictedFor example: The classical way to do dense switches is a LD of the>
target address and a jump to the target. This requires verifying the
address of the target. Whereas if you predict as JTT does, you verify
by matching the index number (which is known earlier and since the
table is read-only you don't need to verify the target address.
Hmm... but in order not to have bubbles, your prediction structure still
needs to give you a predicted target address (rather than a predicted
index number), right?
Les messages affichés proviennent d'usenet.