The invention relates to the technical field of
artificial intelligence, in particular to an operation method and an arithmetic unit based on a
Point data format.The method comprises the steps that sign bits, exponential expansion bits, mantissa bits and exponential bits of the
Point data format are obtained, all the positions of the
Point data format are preprocessed, a bit width distribution priority rule is defined, and a bit width distribution priority rule is obtained; multiplying the two mantissa bits obtained by decoding to obtain a mantissa product and a
mask sequence; determining a prepositive zero number of the mantissa product according to the
mask sequence, and performing unified logic shift on the mantissa product; the method comprises the following steps: carrying out shift on a mantissa part, carrying out
rounding operation on the shifted mantissa part, converting a mantissa product into a fixed-point number format according to a
sign bit, an exponential expansion bit and an exponential bit, carrying out additive operation based on the fixed-point number, and outputting an accumulation result. The circuit area and
power consumption are reduced, complex
time sequence control is not needed, and logic
resource consumption is reduced.