-
公开(公告)号:US20240320008A1
公开(公告)日:2024-09-26
申请号:US18680778
申请日:2024-05-31
Applicant: Huawei Technologies Co., Ltd.
Inventor: Fangping Liu , Sang Wook Do , Richard Van
CPC classification number: G06F9/3844 , G06F9/321
Abstract: The present disclosure related to perceptron based branch prediction methods, devices, and systems. One example method includes storing, in a memory, multiple perceptron tables, determining, based on a branch program counter (PC) and a branch history and from among the multiple perceptron tables, a perceptron stored in a first perceptron table, obtaining weights of the perceptron stored in the first perceptron table, determining, based on the weights and the branch history, a branch prediction indicating a prediction of a direction that a branch will take upon instruction execution, and obtaining one or more instructions based on the predicted direction. Each perceptron table of the multiple perceptron tables has a different branch history length and a different tag length.