Make _MM_SHUFFLE unstable. (#524)

This commit is contained in:
Cameron Hart 2018-07-15 09:45:51 +10:00 committed by Alex Crichton
parent 99102f4bcd
commit d89dc542ec

View file

@ -979,7 +979,7 @@ pub unsafe fn _mm_setzero_ps() -> __m128 {
/// A utility function for creating masks to use with Intel shuffle and permute intrinsics.
#[inline]
#[allow(non_snake_case)]
#[stable(feature = "simd_x86", since = "1.28.0")]
#[unstable(feature = "stdsimd", issue = "27731")]
pub const fn _MM_SHUFFLE(z: u32, y: u32, x: u32, w: u32) -> u32 {
(z << 6) | (y << 4) | (x << 2) | w
}