Make the _mm_movemask_epi8 test a non palindrome
This commit is contained in:
parent
7bdc18925d
commit
98122a49ce
1 changed files with 2 additions and 2 deletions
|
|
@ -4166,11 +4166,11 @@ mod tests {
|
|||
let a = _mm_setr_epi8(
|
||||
0b1000_0000u8 as i8, 0b0, 0b1000_0000u8 as i8, 0b01,
|
||||
0b0101, 0b1111_0000u8 as i8, 0, 0,
|
||||
0, 0, 0b1111_0000u8 as i8, 0b0101,
|
||||
0, 0b1011_0101u8 as i8, 0b1111_0000u8 as i8, 0b0101,
|
||||
0b01, 0b1000_0000u8 as i8, 0b0, 0b1000_0000u8 as i8,
|
||||
);
|
||||
let r = _mm_movemask_epi8(a);
|
||||
assert_eq!(r, 0b10100100_00100101);
|
||||
assert_eq!(r, 0b10100110_00100101);
|
||||
}
|
||||
|
||||
#[simd_test(enable = "sse2")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue