# US 2008/0307029 A1 · Arithmetic device and arithmetic method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307029 A1
- Document ID: US20080307029A1
- Status: Published application
- Kind: A1
- Application number: 12/222,521
- Filed: 2008-08-11
- Published: 2008-12-11
- Earliest claimed: 2006-02-14
- Assignees: Fujitsu Limited
- Inventors: Ryuji Kan
- Web page: https://patentgrep.com/patent/US20080307029A1

## CPC

- G06F 7/483: Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers {(G06F7/4806, G06F7/4824, G06F7/49, G06F7/491, G06F7/544 take precedence)}
- G06F 2207/3868: Bypass control, i.e. possibility to transfer an operand unchanged to the output
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An FMA arithmetic unit has a timing control circuit. The timing control circuit controls bypass selectors to bypass intermediate resisters on performing floating point addition/subtraction, controls another bypass selector to bypass another intermediate register on performing floating point multiplication, and controls still another bypass selectors to bypass a register file/other arithmetic unit result register and operand registers on performing successive FMA arithmetic operations.

## Claims

### Claim 1

An arithmetic device which performs one of addition/subtraction and multiplication of numbers represented by floating points, comprising:
an addition/subtraction unit that performs addition/subtraction of numbers;
a multiplication unit that performs multiplication of numbers; and
a selection unit that selects one of the addition/subtraction unit and the multiplication unit based on a type of an arithmetic operation on numbers.

### Claim 2 (depends on 1)

The arithmetic device according to claim 1, wherein the addition/subtraction unit bypasses a number for addition/subtraction in order to acquire numbers for addition/subtraction at same timing.

### Claim 3 (depends on 1)

The arithmetic device according to claim 1, further comprising
a bypass unit that bypasses a result of an arithmetic operation by the multiplication unit when the type of the arithmetic operation is multiplication so that the result of the arithmetic operation is not input to the addition/subtraction unit.

### Claim 4 (depends on 1)

The arithmetic device according to claim 1 further comprising
a conversion unit that converts, when the arithmetic operation is performed, a data format of the number from an external format into an internal format of the arithmetic device, and
an inverse-conversion unit that converts, when a result of an arithmetic operation on numbers by the addition/subtraction unit or the multiplication unit is not used in a subsequent arithmetic operation, a data format of the result of the arithmetic operation from the internal format of the arithmetic device to the external format.

### Claim 5 (depends on 4)

The arithmetic device according to claim 4, wherein
the addition/subtraction unit uses, when using a result of an arithmetic operation by the addition/subtraction unit or a result of an arithmetic operation by the multiplication unit in a subsequent addition/subtraction, the result of the arithmetic operation in the internal format in the subsequent addition/subtraction.

### Claim 6 (depends on 4)

The arithmetic device according to claim 4, wherein
the multiplication unit uses, when using a result of an arithmetic operation by the addition/subtraction unit or a result of an arithmetic operation by the multiplication unit in a subsequent multiplication, the result of arithmetic operation in the internal format in the subsequent multiplication.

### Claim 7

An arithmetic method for performing one of addition/subtraction and multiplication of numbers represented by floating points, comprising:
acquiring information on a type of an arithmetic operation performed on the numbers; and
selecting one of an addition/subtraction unit that performs addition/subtraction of numbers and a multiplication unit that performs multiplication of numbers based on the type of the arithmetic operation.

### Claim 8 (depends on 7)

The arithmetic method according to claim 7, wherein
the addition/subtraction unit bypasses a number for addition/subtraction in order to acquire numbers for addition/subtraction at same timing.

### Claim 9 (depends on 7)

The arithmetic method according to claim 7, further comprising
bypassing, when the multiplication unit is selected in the selecting, a result of an arithmetic operation by the multiplication unit so that the result of the arithmetic operation is not input to the addition/subtraction unit.

### Claim 10 (depends on 7)

The arithmetic method according to claim 7 further comprising
converting, when the arithmetic operation is performed, a data format of the number from an external format into an internal format of an arithmetic device, and
inversely converting, when a result of an arithmetic operation of numbers by one of the addition/subtraction unit and the multiplication unit is not used in a subsequent arithmetic operation, a data format of the result of the arithmetic operation from the internal format of the arithmetic device to the external format.
