You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which appears consistent with the Intel intrinsic docs. The next place I'd look is in rustc to see if there's a bug in the corresponding platform-intrinsic. Indeed, the definition appears incorrect, so I think this needs to be filed against rust-lang/rust.
https://github.com/rust-lang-nursery/simd/blob/539247c63cd59dc3aac973c02a86845674ee3b6a/src/x86/avx2.rs#L45
fn x86_mm256_sad_epu8(x: u8x32, y: u8x32) -> u8x32
should be
fn x86_mm256_sad_epu8(x: u8x32, y: u8x32) -> u64x4
The intel intrinsics docs state that the result is packed into 4x 64bit values.
I tried fixing it myself but the compiler then complains
The text was updated successfully, but these errors were encountered: