摘要 |
PROBLEM TO BE SOLVED: To reduce the branch penalty of a data processor for pipe line-processing of a given instruction without providing any exclusive buffer for saving an instruction string of a branch instruction type. SOLUTION: When a branch instruction detecting part (12) detects a branch instruction, and a branch predicting part (16) predicts that branching will be generated according to the branch instruction, an instruction buffer part (11) saves an instruction string which has already been read to a predetermined area, and stores the instruction of the branch destination of the branch instruction by reading the instruction in advance in the area where the instruction string was stored. On the other hand, when the branch prediction by the branch predicting part (16) is different from the branch judgment result by a branch judgment part (17) as for the branch instruction, the instruction buffer part (11) outputs the instruction from the saved instruction string, and returns the residual instructions to the original area. COPYRIGHT: (C)2005,JPO&NCIPI
|