Skip to content

Commit

Permalink
Fix typo in ARM SVE code
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jun 26, 2024
1 parent a1c47ba commit d3d5c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpopcnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ static inline uint64_t popcnt(const void* data, uint64_t size)
uint64_t val = 0;
bytes = (bytes <= 7) ? bytes : 7;
for (uint64_t j = 0; j < bytes; j++)
val |= ((uint64_t) ptr[i + j]) << (j * 8);
val |= ((uint64_t) ptr8[i + j]) << (j * 8);
cnt += popcnt64(val);
}

Expand Down

0 comments on commit d3d5c18

Please sign in to comment.