发明名称 Implementing a floating point weighted average function
摘要 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.
申请公布号 US8443027(B2) 申请公布日期 2013.05.14
申请号 US20070861518 申请日期 2007.09.26
申请人 MUFF ADAM JAMES;TUBBS MATTHEW RAY;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MUFF ADAM JAMES;TUBBS MATTHEW RAY
分类号 G06F7/38 主分类号 G06F7/38
代理机构 代理人
主权项
地址
您可能感兴趣的专利