-
公开(公告)号:US11113063B2
公开(公告)日:2021-09-07
申请号:US16565476
申请日:2019-09-09
Applicant: Samsung Electronics Co., Ltd.
Inventor: James David Dundas , Xiaoxin Fan , Shashank Nemawarkar , Madhu Saravana Sibi Govindan
Abstract: According to one general aspect, an apparatus may include a main-branch target buffer (BTB). The apparatus may include a micro-BTB separate from and smaller than the main-BTB, and configured to produce prediction information associated with a branching instruction. The apparatus may include a micro-BTB confidence counter configured to measure a correctness of the prediction information produced by the micro-BTB. The apparatus may further include a micro-BTB misprediction rate counter configured to measure a rate of mispredictions produced by the micro-BTB. The apparatus may also include a micro-BTB enablement circuit configured to enable a usage of the micro-BTB's prediction information, based, at least in part, upon the values of the micro-BTB confidence counter and the micro-BTB misprediction rate counter.