Skip to content

Commit 65e04b6

Browse files
author
Raghuveer Devulapalli
committed
Use popcnt_u32
1 parent 48594f1 commit 65e04b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/avx512-common-qsort.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ X86_SIMD_SORT_INLINE arrsize_t partition_vec(type_t *l_store,
250250
reg_t &biggest_vec)
251251
{
252252
typename vtype::opmask_t ge_mask = vtype::ge(curr_vec, pivot_vec);
253-
arrsize_t amount_ge_pivot = _mm_popcnt_u64(ge_mask);
253+
int amount_ge_pivot = _mm_popcnt_u32((int)ge_mask);
254254

255255
vtype::mask_compressstoreu(l_store, vtype::knot_opmask(ge_mask), curr_vec);
256256
vtype::mask_compressstoreu(

0 commit comments

Comments
 (0)