摘要 |
PURPOSE:To test a branch forecast at a high speed with a high precision by deciding the normalcy of branch forecast with a branch forecast register means, a memory reference log updating means, and a branch forecast result deciding means. CONSTITUTION:A branch forecast register means 1 preliminarily registers a branch forecast in a branch forecast table 11. When an instruction is accessed by instruction prefetch based on the branch forecast registered by the branch forecast register means 1 or an instruction is accessed by the actual execution of a branch instruction, a memory reference log updating means 2 updates contents of a memory reference log table 12 so that they indicate that the instruction is accessed. A branch forecast result deciding means 3 refers to the memory reference log table 12 updated by the memory reference log updating means 2 to decide the normalcy of the branch forecast. Thus, the branch forecast is tested at a high speed with a high precision.
|