We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fdc05a commit bfeeeb8Copy full SHA for bfeeeb8
1 file changed
crates/core_arch/src/macros.rs
@@ -280,6 +280,7 @@ macro_rules! deinterleaving_load {
280
let arr: Arr = std::array::from_fn(|x| $crate::ptr::read_unaligned(($ptr as *const $elem).add(x)));
281
// NOTE: repr(simd) adds padding to make the total size a power of two.
282
// Hence writing W to ptr might write out of bounds.
283
+ type W = Simd<$elem, { $lanes * 3 }>;
284
let w: W = W::from_array(arr);
285
286
let v0: V = simd_shuffle!(w, w, deinterleave_mask::<$lanes, 3, 0>());
0 commit comments