摘要 |
PROBLEM TO BE SOLVED: To accelerate the processing speed of a data processor provided with a register file and plural arithmetic units. SOLUTION: In addition to a register file 10 having four general-purpose registers for respectively storing data, arithmetic and logic unit 20 for executing an addition instruction and a subtraction instruction or the like and multiplication unit 30 for executing a multiplication instruction, this device is provided with an alternative register 40 for storing only the data expressing the arithmetic result of the multiplication unit 30 in place of any one of four general-purpose registers in the register file 10 and a controller 70. Based on a multiplication tag MTAG showing the substitutive register 40 stores the multiplied result data in place of which one of four general-purpose registers and a multiplication execution flag MEF showing whether the data stored in the substitutive register 40 are valid or not, the controller controls the write and read of data in the register file 10 and the substitutive register 40. |