mirror of
https://github.com/matrix-construct/construct
synced 2024-05-29 00:03:45 +02:00
ircd::simd: Zero-init result to not burden caller w/ partial inits.
This commit is contained in:
parent
41c6c35b4c
commit
61c64ccb08
|
@ -44,7 +44,10 @@ noexcept
|
|||
std::is_integral<lane_type<U>>()
|
||||
);
|
||||
|
||||
lane_type<T> out alignas(alignof(T)) [lanes<T>()];
|
||||
lane_type<T> out alignas(alignof(T)) [lanes<T>()]
|
||||
{
|
||||
0
|
||||
};
|
||||
|
||||
for(uint i(0); i < lanes<T>(); ++i)
|
||||
out[dst[i]] = in[src[i]];
|
||||
|
|
Loading…
Reference in a new issue