摘要 |
PROBLEM TO BE SOLVED: To avoid any data hazard between a preceding instruction and a following instruction without generating any stall, and to efficiently issue the following instruction when there exists any data dependency relationship between the preceding instruction and the following instruction.SOLUTION: In a vector processor in which a data dependency detection part detects data dependency relationship between a preceding instruction and a following instruction to be input from an instruction buffer, and an instruction issue control part controls the issuance of the instruction on the basis of the detection result, when there exists data dependency relationship between the preceding instruction and the following instruction, the instruction issue control part generates a new instruction which becomes equivalent to processing relating to a vector register having data dependency relationship between the preceding instruction and the following instruction among processing to be executed by the preceding instruction, and issues the new instruction between the preceding instruction and the following instruction. Thus, it is possible to avoid data hazard between the preceding instruction and the following instruction without generating any stall which used to be generated in a conventional manner. |