首页>
外国专利>
Branch prediction device, branch prediction method, compiler, compilation method thereof, and branch prediction program recording medium
Branch prediction device, branch prediction method, compiler, compilation method thereof, and branch prediction program recording medium
展开▼
机译:分支预测装置,分支预测方法,编译器,其编译方法以及分支预测程序记录介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
A branch prediction mechanism 1000 within an information processing device 100 comprises a call stack 113 where function arguments are stacked when function calls are performed. The call stack 113 stores arguments relating to branch instructions within the function. The branch prediction mechanism 1000 stores the branch instruction address, the leading value of the call stack 113, and the branch destination address at branch instruction execution time, which are in correspondence, in a branch result buffer 116. A branch prediction unit 117 obtains the branch instruction address and leading value of the call stack 113 when notified of branch instruction execution, searches the branch result buffer 116 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 118 fetches instructions from the branch destination predicted by the branch prediction unit 117.
展开▼