John, Abe, All John, thanks for the update on z196 POP publication date of September 10, 2010. I will put that date on my calendar and plan to start work on adding z196 problem state instructions to z390 so I can send Abe a test verstion. <G>
What goes around, comes around in this business it seems. I found this interesting link via Google on "IBM POPCNT instruction": http://www.strchr.com/crc32_popcnt It makes reference to an IBM Stretch computer version of POPCNT instruction among others. In the comments, there is sample C code similar to that submitted by Glen Herrmannsfeldt. Since this is the fastest method identified so far, I'll plan to code the z390 POPCNT instruction in J2SE Java using this same algorithm. I'll also be adding the other new problem state instructions to the z390 runtime emulator, and all 110 instructions to the z390 macro assembler. Don Higgins [email protected]
