摘要 |
<p>In an embodiment of the present invention population counting is performed by using a multiplying unit, in a computer system, including a plurality of multiplying sub-units for simultaneously executing partial multiplications among elements obtained by dividing multiplicand data and multiplier data in a regular multiplication mode. In a population counting mode, input data for the population counting is divided into population counting elements instead of the multiplier data and population countings for the elements are performed simultaneously by using the multiplying sub-units, producing partial counted data of the population counting elements, and the partial counted data are sent to a pair comprising a carry save adder and carry propagate adder by which a population counting result for the input data is obtained and output.</p> |