Doubts in BP working

11 views
Skip to first unread message

aaku...@ncsu.edu

unread,
Mar 5, 2019, 5:54:27 PM3/5/19
to ESESC
Hi,

I am having a doubt in the Branch Predictor. What is addrShift used for? Can you please help me understand the piece of code attached below? The code is from BPred.h file.

Thank you,
Aishwarya

bpred_doubt.PNG

Jose Renau

unread,
Mar 5, 2019, 7:56:43 PM3/5/19
to es...@googlegroups.com, ESESC

To restrict the fetch prediction per boundary. In hardware there tends to be no time to compute the time for each PC. It is common to use the "fetch PC" as the index for tables. The shift is related to fetch width.

Jose Renau
Professor, Computer Science & Engineering
--
You received this message because you are subscribed to the Google Groups "ESESC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to esesc+un...@googlegroups.com.
To post to this group, send email to es...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sent from Mailspring
Reply all
Reply to author
Forward
0 new messages