Skip to content

Commit 7ddc854

Browse files
committed
Fix target_feature config in portable-simd
1 parent 85f7ebe commit 7ddc854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/portable-simd/crates/core_simd/src/swizzle_dyn.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ where
5555
16 => transize(vqtbl1q_u8, self, idxs),
5656
#[cfg(all(target_feature = "avx2", not(target_feature = "avx512vbmi")))]
5757
32 => transize_raw(avx2_pshufb, self, idxs),
58-
#[cfg(target_feature = "avx512vl,avx512vbmi")]
58+
#[cfg(all(target_feature = "avx512vl", target_feature = "avx512vbmi"))]
5959
32 => transize(x86::_mm256_permutexvar_epi8, self, idxs),
6060
// Notable absence: avx512bw shuffle
6161
// If avx512bw is available, odds of avx512vbmi are good

0 commit comments

Comments
 (0)