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 good: u16x32 = simd_lt(count, u16x32::splat(16));
7547
+
let count = simd_select(good, transmute(count), i16x32::splat(15));
7548
+
simd_shr(a.as_i16x32(), count).as_m512i()
7549
+
}
7515
7550
}
7516
7551
7517
7552
/// 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 good: u16x16 = simd_lt(count, u16x16::splat(16));
7591
+
let count = simd_select(good, transmute(count), i16x16::splat(15));
7592
+
simd_shr(a.as_i16x16(), count).as_m256i()
7593
+
}
7554
7594
}
7555
7595
7556
7596
/// 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 good: u16x8 = simd_lt(count, u16x8::splat(16));
7635
+
let count = simd_select(good, transmute(count), i16x8::splat(15));
7636
+
simd_shr(a.as_i16x8(), count).as_m128i()
7637
+
}
7593
7638
}
7594
7639
7595
7640
/// 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