Processing device, arithmetic unit, and control method of processing device
AssigneeFujitsu Limited
InventorsKouji KIMURA, Shiro KAMOSHIDA
Life of this patent
Estimating the term…
Loading patent…
AssigneeFujitsu Limited
InventorsKouji KIMURA, Shiro KAMOSHIDA
Estimating the term…
There is provision of a processing device including an instruction decoder and an arithmetic unit configured to process an immediate instruction for instructing a calculation of a product of an immediate value and a constant. In response to receiving the immediate instruction, the instruction decoder generates a first shift control information and a second shift control information based on the constant. The arithmetic unit generates a first shifted value by bit-shifting the immediate value received from the instruction decoder based on the first shift control information, and a second shifted value by bit-shifting the immediate value or a complement of the immediate value based on the second shift control information. By performing an addition of the first shifted value and the second shifted value, the arithmetic unit calculates the product.
A processing device comprising:
An arithmetic unit performing an operation corresponding to an immediate instruction for instructing a calculation of a product of an immediate value and a constant and for instructing an operation of the product and data retained in a register file, the arithmetic unit comprising:
A method of controlling a processing device including an instruction decoder configured to generate instruction information by decoding an instruction, an arithmetic unit configured to perform an arithmetic operation based on the instruction information, and a register file configured to retain data used for the arithmetic operation, the method comprising:
Dependencies are inferred from the claim text.