Device and method for treating multiplication and addition calculations

A technology of addition operation and addition operation, applied in the computer field, can solve problems such as multi-resource and bit width, and achieve the effect of improving computing efficiency, reducing resource occupation, and reducing computing power consumption

Active Publication Date: 2017-09-29
HUAWEI MACHINERY
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When performing addition operations, due to the large bit width occupied by the data in the linear domain, the computer still needs to occupy more resources when performing addition operations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device and method for treating multiplication and addition calculations
  • Device and method for treating multiplication and addition calculations
  • Device and method for treating multiplication and addition calculations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The technical solution in this application will be described below with reference to the accompanying drawings. In order to better process the data processing device of the embodiment of the present application, the following first combines figure 1 A brief introduction is made to the method for processing multiplication and addition operations in the prior art.

[0046] figure 1 A schematic flowchart of a method for processing multiplication and addition operations in the prior art is shown.

[0047] exist figure 1 Among them, four multipliers (the first multiplier, the second multiplier, the third multiplier and the fourth multiplier) respectively multiply four pairs of data to obtain four 32-bit data, and then, the first addition The four 32-bit data output by the four multipliers are respectively added by the second adder to obtain two 32-bit data, and then the third adder outputs to the first adder and the second adder The two 32-bit data are added to obtain a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a device and method for treating multiplication and addition calculations. The device comprises a first adder, which is used for conducting an addition calculation on first data and second data which are input and obtaining first middle data, a second adder, which is used for conducting an addition calculation on third data and fourth data which are input and obtaining second middle data, and a logarithm adder, wherein the values of the first data and the second data are logaA and logaB respectively, the values of the third data and the fourth data are logaC and logaD respectively, and the value of the second middle data is n; the logarithm adder is used for obtaining a<n-m> according to m and n input by the first adder and the second adder, and approximately determining the sum of m and a<n-m> as the value of (loge)*loga (A*B+C*D), and the first adder, the second adder and the logarithm adder are achieved by a hardware circuit. According to the device and method for treating multiplication and addition calculations, the power consumption of the calculations can be reduced in the calculation process.

Description

technical field [0001] The present application relates to the field of computers, and more particularly, relates to a device for processing multiplication and addition operations and a method for processing multiplication and addition operations. Background technique [0002] Computers often use multiplication and addition operations when processing input data. When a computer performs a multiplication and addition operation, it first multiplies the input data, and then performs addition operations on the data obtained by the multiplication. Since the input data is generally the data in the linear domain, and the bit width occupied by the data in the linear domain is generally relatively large (for example, 32 bits), the computer needs to occupy more resources when performing multiplication and addition operations. In addition, since the multiplication and addition operation includes a large number of multiplication operations, the multiplication operation requires a large a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/544
CPCG06F7/5443
Inventor 徐斌陈清龙戎建江
Owner HUAWEI MACHINERY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products