-
公开(公告)号:US10853075B2
公开(公告)日:2020-12-01
申请号:US16725203
申请日:2019-12-23
Applicant: Advanced Micro Devices, Inc.
Inventor: Varun Agrawal , John Kalamatianos , Adithya Yalavarti , Jingjie Qian
Abstract: An electronic device handles accesses of a branch prediction functional block when executing instructions in program code. The electronic device includes a processor having the branch prediction functional block that provides branch prediction information for control transfer instructions (CTIs) in the program code and a minimum predictor use (MPU) functional block. The MPU functional block determines, based on a record associated with a given fetch group of instructions, that a specified number of subsequent fetch groups of instructions that were previously determined to include no CTIs or conditional CTIs that were not taken are to be fetched for execution in sequence following the given fetch group. The MPU functional block then, when each of the specified number of the subsequent fetch groups is fetched and prepared for execution, prevents corresponding accesses of the branch prediction functional block for acquiring branch prediction information for instructions in that subsequent fetch group.
-
公开(公告)号:US20200150966A1
公开(公告)日:2020-05-14
申请号:US16725203
申请日:2019-12-23
Applicant: Advanced Micro Devices, Inc.
Inventor: Varun Agrawal , John Kalamatianos , Adithya Yalavarti , Jingjie Qian
IPC: G06F9/38
Abstract: An electronic device handles accesses of a branch prediction functional block when executing instructions in program code. The electronic device includes a processor having the branch prediction functional block that provides branch prediction information for control transfer instructions (CTIs) in the program code and a minimum predictor use (MPU) functional block. The MPU functional block determines, based on a record associated with a given fetch group of instructions, that a specified number of subsequent fetch groups of instructions that were previously determined to include no CTIs or conditional CTIs that were not taken are to be fetched for execution in sequence following the given fetch group. The MPU functional block then, when each of the specified number of the subsequent fetch groups is fetched and prepared for execution, prevents corresponding accesses of the branch prediction functional block for acquiring branch prediction information for instructions in that subsequent fetch group.
-