We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0309be1 commit c73b5b8Copy full SHA for c73b5b8
coresimd/x86/sse.rs
@@ -981,8 +981,8 @@ pub unsafe fn _mm_setzero_ps() -> __m128 {
981
#[inline]
982
#[allow(non_snake_case)]
983
#[unstable(feature = "stdsimd", issue = "27731")]
984
-pub const fn _MM_SHUFFLE(z: u32, y: u32, x: u32, w: u32) -> u32 {
985
- (z << 6) | (y << 4) | (x << 2) | w
+pub const fn _MM_SHUFFLE(z: u32, y: u32, x: u32, w: u32) -> i32 {
+ ((z << 6) | (y << 4) | (x << 2) | w) as i32
986
}
987
988
/// Shuffle packed single-precision (32-bit) floating-point elements in `a` and
0 commit comments