摘要 |
<p>An apparatus[10, 30, 100] that can also be used for generating the average of two integers. The apparatus[10, 30, 100] can be divided into a plurality of sub-adders[102] that operate on sub-words of the input integers in parallel. Hence, the adder can be used for adding or subtracting one set of two integers wherein each integer is of some predetermined length or a plurality of sets of two integers provided the sum of the lengths of the integers is less than or equal to this predetermined length. The apparatus[10, 30, 100] can also generate the sum, or difference, of each of the sub-words divided by two. The parallel operations can be carried out in response to a single instruction. The results of the division by two are rounded in a manner that eliminates biasing of the results. <IMAGE></p> |