-
公开(公告)号:US20180060074A1
公开(公告)日:2018-03-01
申请号:US15252168
申请日:2016-08-30
Applicant: Advanced Micro Devices, Inc.
Inventor: Steven R. Havlir
Abstract: Disclosed are a method and a processing device directed to determining global branch history for branch prediction. The method includes shifting first bits of a branch signature into a current global branch history and performing a bitwise exclusive-or (XOR) function on second bits of the branch signature and shifted bits of the current global branch history. In this way, the current global branch history is updated. The processing device implements the method using a shift logic configured to store and shift bits representing a current global branch history, a register configured to store the current global branch history, decision circuitry configured to determine whether or not a branch is taken, and XOR gates.