mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd::simd: Fix AVX512 devectorization on clang w/ uninitialized across loops.
This commit is contained in:
parent
7cdf1330d4
commit
9523e3ca0a
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue