Invention Grant
- Patent Title: Implementing a floating point weighted average function
- Patent Title (中): 实现浮点加权平均函数
-
Application No.: US11861518Application Date: 2007-09-26
-
Publication No.: US08443027B2Publication Date: 2013-05-14
- Inventor: Adam James Muff , Matthew Ray Tubbs
- Applicant: Adam James Muff , Matthew Ray Tubbs
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Patterson & Sheridan, LLP
- Main IPC: G06F7/38
- IPC: G06F7/38

Abstract:
A method, computer-readable medium, and an apparatus for implementing a floating point weighted average function. The method includes receiving an input containing 2N input values, 2N weights, and an opcode, where N is a positive integer number and each of the input values corresponds to one of the weights. Furthermore, the method also includes using existing dot product circuit function to generate 2N addends by multiplying each of the input values with the corresponding weight. In addition, the method includes generating a sum value by adding the 2N addends, where the sum value includes an exponent value, and generating the weighted average value based on the sum value by decreasing the exponent value by N. In this fashion, the same circuit area may be used to carry out both dot product and weighted average calculations, leading to greater circuit area savings and performance advantages.
Public/Granted literature
- US20090083357A1 Method and Apparatus Implementing a Floating Point Weighted Average Function Public/Granted day:2009-03-26
Information query