Skip to content

Commit f54d816

Browse files
committed
Work around selection failure without avx512vl
1 parent f9a7115 commit f54d816

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

crates/core_arch/src/x86/avx512f.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49621,7 +49621,9 @@ mod tests {
4962149621
assert_eq_m512i(r, e);
4962249622
}
4962349623

49624-
#[simd_test(enable = "avx512f")]
49624+
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/154492
49625+
//#[simd_test(enable = "avx512f")]
49626+
#[simd_test(enable = "avx512f,avx512vl")]
4962549627
unsafe fn test_mm512_mask_cvttps_epu32() {
4962649628
let a = _mm512_setr_ps(
4962749629
0., -1.5, 2., -3.5, 4., -5.5, 6., -7.5, 8., 9.5, 10., 11.5, 12., 13.5, 14., 15.5,
@@ -49634,7 +49636,9 @@ mod tests {
4963449636
assert_eq_m512i(r, e);
4963549637
}
4963649638

49637-
#[simd_test(enable = "avx512f")]
49639+
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/154492
49640+
//#[simd_test(enable = "avx512f")]
49641+
#[simd_test(enable = "avx512f,avx512vl")]
4963849642
unsafe fn test_mm512_maskz_cvttps_epu32() {
4963949643
let a = _mm512_setr_ps(
4964049644
0., -1.5, 2., -3.5, 4., -5.5, 6., -7.5, 8., 9.5, 10., 11.5, 12., 13.5, 14., 15.5,

crates/core_arch/src/x86_64/avx512f.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5311,7 +5311,9 @@ mod tests {
53115311
assert_eq_m256i(r, e);
53125312
}
53135313

5314-
#[simd_test(enable = "avx512f")]
5314+
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/154492
5315+
//#[simd_test(enable = "avx512f")]
5316+
#[simd_test(enable = "avx512f,avx512vl")]
53155317
unsafe fn test_mm512_mask_cvttpd_epu32() {
53165318
let a = _mm512_setr_pd(0., -1.5, 2., -3.5, 4., -5.5, 6., -7.5);
53175319
let src = _mm256_set1_epi32(0);
@@ -5322,7 +5324,9 @@ mod tests {
53225324
assert_eq_m256i(r, e);
53235325
}
53245326

5325-
#[simd_test(enable = "avx512f")]
5327+
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/154492
5328+
//#[simd_test(enable = "avx512f")]
5329+
#[simd_test(enable = "avx512f,avx512vl")]
53265330
unsafe fn test_mm512_maskz_cvttpd_epu32() {
53275331
let a = _mm512_setr_pd(0., -1.5, 2., -3.5, 4., -5.5, 6., -7.5);
53285332
let r = _mm512_maskz_cvttpd_epu32(0, a);

0 commit comments

Comments
 (0)