highway/x86/
macros.rs

1/// The function, [_MM_SHUFFLE](https://doc.rust-lang.org/core/arch/x86_64/fn._MM_SHUFFLE.html) is
2/// only supported on nightly and there has been [some controversy
3/// around](https://github.com/rust-lang-nursery/stdsimd/issues/522) it regarding the type
4/// signature, so the safe route here is to just go with our own macro.
5macro_rules! _mm_shuffle {
6    ($z:expr, $y:expr, $x:expr, $w:expr) => {
7        ($z << 6) | ($y << 4) | ($x << 2) | $w
8    };
9}