PURPOSE: To prevent deterioration of the processing speed caused by a fact that a branch prediction fails. ;CONSTITUTION: When a branch instruction appears by following the execution of a program, it is stored in a branch instruction table 64. In the branch instruction table 64, not only an instruction field 643, but also an address field 642 of the branch instruction and an immediately previous address field 641, and information of an operand of the branch instruction are stored. Among them, the immediately previous address field 641 is an address before two instructions of an address of the branch instruction. The instruction is executed by four stages of instruction fetch, decoding, operation and store of a result. Accordingly, in a pipeline processing system, the instruction fetched in a certain stage is executed after two instructions. Therefore, by retrieving the branch instruction table 64 simultaneously with the instruction fetch, a branch destination is detected in the next stage, and the branch destination can be detected before the branch instruction is executed.;COPYRIGHT: (C)1994,JPO
展开▼