Invention Grant
US08694760B2 Branch prediction using a leading value of a call stack storing function arguments
有权
分支预测使用存储函数参数的调用堆栈的前导值
- Patent Title: Branch prediction using a leading value of a call stack storing function arguments
- Patent Title (中): 分支预测使用存储函数参数的调用堆栈的前导值
-
Application No.: US13001852Application Date: 2010-05-19
-
Publication No.: US08694760B2Publication Date: 2014-04-08
- Inventor: Katsushige Amano
- Applicant: Katsushige Amano
- Applicant Address: JP Osaka
- Assignee: Panasonic Corporation
- Current Assignee: Panasonic Corporation
- Current Assignee Address: JP Osaka
- Agency: Wenderoth, Lind & Ponack, L.L.P.
- Priority: JP2009-120583 20090519
- International Application: PCT/JP2010/003357 WO 20100519
- International Announcement: WO2010/134330 WO 20101125
- Main IPC: G06F9/32
- IPC: G06F9/32 ; G06F9/40

Abstract:
A branch prediction mechanism within an information processing device comprises a call stack where function arguments are stacked when function calls are performed. The call stack stores arguments relating to branch instructions within the function. The branch prediction mechanism stores the branch instruction address, the leading value of the call stack, and the branch destination address at branch instruction execution time, which are in correspondence, in a branch result buffer. A branch prediction unit obtains the branch instruction address and leading value of the call stack when notified of branch instruction execution, searches the branch result buffer for a branch destination corresponding to the address and leading value, and predicts the search result as the branch destination of the executed branch instruction. An instruction fetch unit fetches instructions from the branch destination predicted by the branch prediction unit.
Public/Granted literature
Information query