Floating point addition device based on complement rounding

A technology of addition device and floating-point subtraction, which is applied to calculations using number system representation and calculations using non-contact manufacturing equipment, etc., can solve the problems of reducing logic complexity, inconsistent mechanism, high logic complexity, etc., and achieve flexibility Good performance, unified mechanism, and simple logic design

Inactive Publication Date: 2010-02-17
C SKY MICROSYST CO LTD
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] In order to overcome the inconsistency and high logic complexity of existing floating-point addition components, the present invention provides a unified mechanism, which avoids complex mantissa operand preparation and rounding judgment logic unique to floating-point addition, and reduces logic complexity. Degree of floating-point addition device based on two's-complement rounding

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
  • Floating point addition device based on complement rounding
  • Floating point addition device based on complement rounding
  • Floating point addition device based on complement rounding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described below in conjunction with the accompanying drawings.

[0045] refer to Figure 1 to Figure 11 , a floating-point addition device based on complement rounding, the floating-point addition device supports floating-point addition operations and floating-point subtraction operations, and the floating-point addition device includes: an index adder for calculating the first floating-point The exponent difference between the operand and the second floating-point operand; the mantissa shifter is used to shift the mantissa of the floating-point operand with a smaller exponent according to the exponent difference input by the previous stage; the floating-point addition device Also includes:

[0046] A mantissa operand preparation logic unit for performing the following processing on the mantissa operand based on the sign bit and exponent difference of the first floating-point operand and the second floating-point operand:

[0047]...

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 relates to a floating point addition device based on complement rounding, which supports the floating point addition operation and the floating point subtraction operation. The floatingpoint addition device comprises an exponent adder, a mantissa shifter, a mantissa operand preparation logic unit, a mantissa adder, a rounding judgment logic unit and a rounding adder, wherein the mantissa operand preparation logic unit is used for processing the mantissa operand according to sign bits and the exponent difference of the first floating point operand and the second floating point operand, the rounding judgment logic unit is used for executing the uniform rounding judgment on a mantissa addition result, judging the positive and the negative of the mantissa sum according to the highest bit output by the mantissa adder, determining a constant bit for the rounding judgment according to the highest four bits output by the mantissa adder, and unifying original code rounding plus 1judgment logic and complement rounding plus 0 judgment logic; and the rounding adder is used for rounding the mantissa addition result of the floating point and finishing the code extraction and complement operation to the mantissa sum. The invention has the uniform mechanism, avoids the special complex mantissa operand preparation and rounding judgment logic of the floating point addition, and reduces the logic complexity.

Description

technical field [0001] The invention relates to a microprocessor architecture design, in particular to a floating point operation unit. Background technique [0002] Floating-point operations are ubiquitous in real life, and scientific operations, signal processing, media applications, and information communications all require a large number of floating-point operations. Before the 1980s, various computer manufacturers had different rules for supporting floating-point operations, which brought great changes to the transplantation of floating-point applications on different computer platforms. For this reason, IEEE proposed a set of floating-point arithmetic standards "IEEE-754 for Binary Float-point Arithmetic" in 1985, which has now become an international general standard. In this standard, four floating-point representation formats are proposed: single-precision, double-precision, extended single-precision, and extended double-precision, and specifically define floating...

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/50
Inventor 严晓浪陈志坚孟建熠葛海通
Owner C SKY MICROSYST CO LTD
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