2 ms·
It is good to remember that the instruction POPCNT was introduced for the first time in the instruction set of a computer by Alan Turing, already in 1949, in Fe
by adrian_b 4y ago
It is good to remember that the instruction POPCNT was introduced for the first time in the instruction set of a computer by Alan Turing, already in 1949, in Ferranti Mark I (as "sideways add").
Unfortunately few other computers have included it before Cray 1, which made it well known, under the current name.
- pklausler 4y agoWe had it on the CDC 6600 in 1963 as 'Bi NXj' if I remember rightly.
- js2 4y agoSideways add makes a bit of sense for the name of this operation. But I can't figure out why Cray named it "population count." It just seems odd to refer to the set bits as part of a population that you're counting.