Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -wl
    use strict;
    ...
        char *s = SvPV(bitstr, l);
        return popcount(s, l);
    }
    
  2. or download this
              Rate unpack popcnt
    unpack  1252/s     --   -91%
    popcnt 13581/s   984%     --
    
  3. or download this
    $ cat /proc/cpuinfo | grep name | head -1
    model name    : AMD Phenom(tm) 9600 Quad-Core Processor
    
  4. or download this
    bits 64
    global popcount
    ...
            mov rsp, rbp
            pop rbp
            ret