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
/// Shift packed 16-bit integers in a left by the amount specified by the corresponding element in count while shifting in zeros, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
/// Shift packed 16-bit integers in a left by the amount specified by the corresponding element in count while shifting in zeros, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
/// Shift packed 16-bit integers in a left by the amount specified by the corresponding element in count while shifting in zeros, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
/// Shift packed 16-bit integers in a right by the amount specified by the corresponding element in count while shifting in zeros, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
/// Shift packed 16-bit integers in a right by the amount specified by the corresponding element in count while shifting in zeros, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
/// Shift packed 16-bit integers in a right by the amount specified by the corresponding element in count while shifting in zeros, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
let no_overflow: u16x32 = simd_lt(count, u16x32::splat(u16::BITS as u16));
7559
+
let count = simd_select(no_overflow, transmute(count), i16x32::splat(15));
7560
+
simd_shr(a.as_i16x32(), count).as_m512i()
7561
+
}
7527
7562
}
7528
7563
7529
7564
/// Shift packed 16-bit integers in a right by the amount specified by the corresponding element in count while shifting in sign bits, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
let no_overflow: u16x16 = simd_lt(count, u16x16::splat(u16::BITS as u16));
7603
+
let count = simd_select(no_overflow, transmute(count), i16x16::splat(15));
7604
+
simd_shr(a.as_i16x16(), count).as_m256i()
7605
+
}
7566
7606
}
7567
7607
7568
7608
/// Shift packed 16-bit integers in a right by the amount specified by the corresponding element in count while shifting in sign bits, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
let no_overflow: u16x8 = simd_lt(count, u16x8::splat(u16::BITS as u16));
7647
+
let count = simd_select(no_overflow, transmute(count), i16x8::splat(15));
7648
+
simd_shr(a.as_i16x8(), count).as_m128i()
7649
+
}
7605
7650
}
7606
7651
7607
7652
/// Shift packed 16-bit integers in a right by the amount specified by the corresponding element in count while shifting in sign bits, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
0 commit comments