Skip to content

Commit 945fecc

Browse files
marxinAmanieu
authored andcommitted
Fix test-case
1 parent 59271e0 commit 945fecc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/core_arch/src/x86_64/avx512f.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11189,8 +11189,11 @@ mod tests {
1118911189
let r = _mm256_alignr_epi64::<0>(a, b);
1119011190
let e = _mm256_set_epi64x(8, 7, 6, 5);
1119111191
assert_eq_m256i(r, e);
11192+
let r = _mm256_alignr_epi64::<1>(a, b);
11193+
let e = _mm256_set_epi64x(1, 8, 7, 6);
11194+
assert_eq_m256i(r, e);
1119211195
let r = _mm256_alignr_epi64::<6>(a, b);
11193-
let e = _mm256_set_epi64x(6, 5, 4, 3);
11196+
let e = _mm256_set_epi64x(2, 1, 8, 7);
1119411197
assert_eq_m256i(r, e);
1119511198
}
1119611199

0 commit comments

Comments
 (0)