Skip to content

Commit 4623110

Browse files
jan-wassenbergcopybara-github
authored andcommitted
gcc fix (sign conversion in array size expression)
PiperOrigin-RevId: 502811261
1 parent 5a6cdb9 commit 4623110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hwy/ops/generic_ops-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ HWY_API size_t CompressBitsStore(V v, const uint8_t* HWY_RESTRICT bits, D d,
13081308
const Simd<T, HWY_MIN(MaxLanes(d), 8), 0> d8;
13091309
T* HWY_RESTRICT pos = unaligned;
13101310

1311-
HWY_ALIGN constexpr T table[256 * 8] = {
1311+
HWY_ALIGN constexpr T table[2048] = {
13121312
0, 1, 2, 3, 4, 5, 6, 7, /**/ 0, 1, 2, 3, 4, 5, 6, 7, //
13131313
1, 0, 2, 3, 4, 5, 6, 7, /**/ 0, 1, 2, 3, 4, 5, 6, 7, //
13141314
2, 0, 1, 3, 4, 5, 6, 7, /**/ 0, 2, 1, 3, 4, 5, 6, 7, //

0 commit comments

Comments
 (0)