Skip to content

Commit d6c2354

Browse files
author
Daniel Smith
committed
Delete mistaken comment
1 parent c75474b commit d6c2354

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

crates/core_arch/src/x86_64/avx512f.rs

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -637,33 +637,4 @@ mod tests {
637637
}
638638
assert_eq!(&arr[..], &expected[..],);
639639
}
640-
641-
/*
642-
#[simd_test(enable = "avx512f")]
643-
unsafe fn test_mm512_i64gather_epi32() {
644-
let mut arr = [0i64; 128];
645-
for i in 0..128i64 {
646-
arr[i as usize] = i;
647-
}
648-
// A multiplier of 8 is word-addressing
649-
#[rustfmt::skip]
650-
let index = _mm512_setr_epi64(0, 16, 32, 48, 64, 80, 96, 112);
651-
let r = _mm512_i64gather_epi32(index, arr.as_ptr() as *const u8, 8);
652-
assert_eq_m256i(r, _mm256_setr_epi32(0, 16, 32, 48, 64, 80, 96, 112));
653-
}
654-
655-
#[simd_test(enable = "avx512f")]
656-
unsafe fn test_mm512_mask_i64gather_epi32() {
657-
let mut arr = [0i64; 128];
658-
for i in 0..128i64 {
659-
arr[i as usize] = i;
660-
}
661-
let src = _mm256_set1_epi32(2);
662-
let mask = 0b10101010;
663-
#[rustfmt::skip]
664-
let index = _mm512_setr_epi64(0, 16, 32, 48, 64, 80, 96, 112);
665-
// A multiplier of 8 is word-addressing
666-
let r = _mm512_mask_i64gather_epi32(src, mask, index, arr.as_ptr() as *const u8, 8);
667-
assert_eq_m256i(r, _mm256_setr_epi32(2, 16, 2, 48, 2, 80, 2, 112));
668-
}*/
669640
}

0 commit comments

Comments
 (0)