always overallocate by 4 bytes in 32-bit output case for /bitarr
This commit is contained in:
parent
3ea998a41a
commit
c50674d63a
@ -260,11 +260,7 @@ static B where(B x, usz xia, u64 s) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (xia <= (usz)I32_MAX+1) {
|
} else if (xia <= (usz)I32_MAX+1) {
|
||||||
#if SINGELI_AVX2 && FAST_PDEP
|
|
||||||
i32* rp; r = m_i32arrv(&rp, s);
|
|
||||||
#else
|
|
||||||
i32* rp = m_tyarrvO(&r, 4, s, t_i32arr, 4);
|
i32* rp = m_tyarrvO(&r, 4, s, t_i32arr, 4);
|
||||||
#endif
|
|
||||||
usz b = bsp_max; TALLOC(i16, buf, b);
|
usz b = bsp_max; TALLOC(i16, buf, b);
|
||||||
i32* rq = rp;
|
i32* rq = rp;
|
||||||
for (usz i=0; i<xia; i+=b) {
|
for (usz i=0; i<xia; i+=b) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user