Skip to content

Commit 933a5e0

Browse files
bjorn3gnzlbg
authored andcommitted
Make the _mm_movemask_epi8 test a non palindrome
1 parent 2dccd4e commit 933a5e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_arch/src/x86/sse2.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4166,11 +4166,11 @@ mod tests {
41664166
let a = _mm_setr_epi8(
41674167
0b1000_0000u8 as i8, 0b0, 0b1000_0000u8 as i8, 0b01,
41684168
0b0101, 0b1111_0000u8 as i8, 0, 0,
4169-
0, 0, 0b1111_0000u8 as i8, 0b0101,
4169+
0, 0b1011_0101u8 as i8, 0b1111_0000u8 as i8, 0b0101,
41704170
0b01, 0b1000_0000u8 as i8, 0b0, 0b1000_0000u8 as i8,
41714171
);
41724172
let r = _mm_movemask_epi8(a);
4173-
assert_eq!(r, 0b10100100_00100101);
4173+
assert_eq!(r, 0b10100110_00100101);
41744174
}
41754175

41764176
#[simd_test(enable = "sse2")]

0 commit comments

Comments
 (0)