Method and device for achieving SIMD structure floating point division in general-purpose digital signal processor (GPDSP)

An implementation method and a division technique, which can be applied to calculations using the number system and calculations using non-contact manufacturing equipment, which can solve the problems of increasing the hardware complexity of interrupt processing logic, limited arithmetic precision, and high hardware overhead.

Active Publication Date: 2014-08-13
NAT UNIV OF DEFENSE TECH
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Chinese patent application CN1979411A discloses a method and device for realizing a high-speed divider. In this scheme, the divider first uses a lookup table to find the reciprocal of the divisor, and then multiplies it with the dividend to obtain the quotient. Although the operation speed is relatively fast, it can greatly reduce the number of division operations. The clock cycle of the operation, but the operation accuracy is limited and the hardware overhead is relatively large
Chinese patent application CN1287037A discloses a high-radix divider and method. In this scheme, the divider obtains a k-bit quotient at a time, and can realize a divider with a base of 2, a base of 4 or even a higher base. Although the base in this scheme is small and the structure is simple, But the cycle required for the division operation is long
In GPDSP (General-Purpose Digital Signal Processor, general-purpose digital signal processor), the execution cycle of commonly used floating-point addition and subtraction, multiplication and other instructions generally does not exceed seven beats, but only the execution cycle of floating-point division instructions is tens of For example, the double-precision floating-point division of the base 16 requires 14 iteration cycles, which increases the hardware complexity of the interrupt processing logic, making the high-base SRT divider not suitable for implementation in GPDSP

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
  • Method and device for achieving SIMD structure floating point division in general-purpose digital signal processor (GPDSP)
  • Method and device for achieving SIMD structure floating point division in general-purpose digital signal processor (GPDSP)
  • Method and device for achieving SIMD structure floating point division in general-purpose digital signal processor (GPDSP)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention will be further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

[0059] Such as figure 2 Shown, the realization method of SIMD structure floating-point division in the present embodiment GPDSP, the step is:

[0060] 1) Iterative calculation: Input two double-precision floating-point data as the divisor and dividend respectively, or input two sets of parallel SIMD double-single-precision floating-point data to form two sets of divisor and dividend. Or truncated to multi-level execution, each level performs multiple iterations of the SRT algorithm, and outputs the quotient and remainder obtained after the iterative calculations of all levels are completed, wherein the number of iterations of each level is less than or equal to the maximum instruction cycle of GPDSP;

[0061] 2) Normalization processing: receiving the quotient...

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 discloses a method and device for achieving an SIMD structure floating point division in a general-purpose digital signal processor (GPDSP). The method comprises a first step of inputting two double precision floating point data or two groups of parallel SIMD double and single precision floating point data, adopting an SRT algorithm to perform division iterative computation and perform one-stage execution or multi-stage execution by truncation, executing repeated iterative computation in every stage, and enabling the times of iterative computation in every stage to be smaller than or equal to the maximum instruction cycle of the GPDSP; a second step of normalizing the mantissa of quotients according to data types and the number of stages executed in iterative computation, and obtaining a final quotient result after combination. The device comprises an iterative computation module corresponding to the method and a normalization processing module. The method and device for achieving the SIMD structure floating point division in the GPDSP can achieve double precision and SIMD double and single precision floating point division on identical hardware and have the advantages that the achieving method is simple, the application is flexible, hardware expenditure is small, the execution cycle is short, the delay is small, and division execution efficiency is high.

Description

technical field [0001] The invention relates to the technical field of division operation in GPDSP, in particular to a method and device for realizing floating-point division of SIMD structure in GPDSP. Background technique [0002] In scientific computing, voice communication, graphics acceleration, digital signal processing and other fields, a large number of single-precision floating-point division or double-precision floating-point division operations are required, so the performance of floating-point division will become the bottleneck of the overall performance of the processor. . In SPEC92, floating-point division instructions account for about 3% of the total number of instructions, but the calculation overhead of division accounts for 40% of the total time overhead. Therefore, designing a floating-point division with high execution efficiency is of great significance to the improvement of processor performance. . [0003] At present, the division hardware implemen...

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
IPC IPC(8): G06F7/52
Inventor 陈书明邓子椰雷元武彭元喜万江华郭阳
Owner NAT UNIV OF DEFENSE TECH
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