-
公开(公告)号:US10372459B2
公开(公告)日:2019-08-06
申请号:US15712112
申请日:2017-09-21
Applicant: QUALCOMM Incorporated
Inventor: Gurkanwal Brar , Christopher Ahn , Gurvinder Singh Chhabra
IPC: G06F9/38
Abstract: Systems and methods for branch prediction include identifying a subset of branch instructions from an execution trace of instructions executed by a processor. The identified subset of branch instructions have greater benefit from branch predictions made by a neural branch predictor than branch predictions made by a non-neural branch predictor. During runtime, the neural branch predictor is selectively used for obtaining branch predictions of the identified subset of branch instructions. For remaining branch instructions outside the identified subset of branch instructions, branch predictions are obtained from a non-neural branch predictor. Further, a weight vector matrix comprising weight vectors for the identified subset of branch instructions of the neural branch predictor is pre-trained based on the execution trace.