0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 07:23:53 +01:00

ircd::simd: Fix AVX512 devectorization on clang w/ uninitialized across loops.

This commit is contained in:
Jason Volk 2020-12-23 19:59:30 -08:00
parent 7cdf1330d4
commit 9523e3ca0a
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ noexcept
b / 8
};
V arg(a), ret;
V arg(a), ret(a);
for(size_t i(0); i < B; ++i)
ret[i] = 0;

View file

@ -58,7 +58,7 @@ noexcept
b / 8
};
V arg(a), ret;
V arg(a), ret(a);
for(size_t i(0); i < sizeof(V) - B; ++i)
ret[i] = arg[i + B];