发明名称 Method and apparatus for performing sequential executions of elements in cooperation with a transform
摘要 A method and apparatus for predicting the outcome of a branch instruction based on the branch history of preceding branch instructions. As a sequence of instructions passes through an instruction execution pipeline, a base branch instruction is chosen, a history index is generated for the base branch instruction and subsequent branch instructions, and a transform is created for the branch instruction to be predicted. The transform is then saved. When the sequence of instructions subsequently passes through the pipeline again, the transform is retrieved and used to operate on the history index of the base branch instruction to produce a history index for the branch to be predicted. The result is used as an index into a prediction array to access the prediction logic for the branch instruction being predicted. By using the predetermined transform, a branch status prediction can be made before the branch to be predicted reaches the normal prediction stage in the pipeline. This allows the subsequent instructions to be predicted and loaded into the pipeline immediately behind the branch that was predicted. This process can also be applied to any application in which the historic results of previous elements are used to predict the result or identity of a current element, but the recent status of those previous elements is not available.
申请公布号 US2004088525(A1) 申请公布日期 2004.05.06
申请号 US20030689907 申请日期 2003.10.20
申请人 D'SA REYNOLD V.;MORGAN SLADE A.;KYKER ALAN B.;SHEAFFER GAD S.;ESPINOSA GUSTAVO P. 发明人 D'SA REYNOLD V.;MORGAN SLADE A.;KYKER ALAN B.;SHEAFFER GAD S.;ESPINOSA GUSTAVO P.
分类号 G06F9/00;G06F9/38;G06F15/00;(IPC1-7):G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址