Guest User

Untitled

a guest
Jun 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. while (i < to) {
  2.     ui64 row = rows[rowIndex];
  3.     ui64 bitchange = i++;
  4.     bitchange ^= i;
  5.     rowIndex = 63-__builtin_clzll(bitchange);
  6.  
  7.     ui64 cardinality = 0;
  8.     for (int j=0; j<8; j++) {
  9.         curr[j] ^= row[j];
  10.         cardinality += __builtin_popcountll(curr[j]);
  11.     }
  12.     popcountpolynomial[cardinality]++;
  13. }
Add Comment
Please, Sign In to add comment