Skip to content

Commit d4ee695

Browse files
Urgaucalebzulawski
authored andcommitted
Fix target_feature config in portable-simd
1 parent 37427f8 commit d4ee695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_simd/src/swizzle_dyn.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ where
3939
16 => transize(vqtbl1q_u8, self, idxs),
4040
#[cfg(all(target_feature = "avx2", not(target_feature = "avx512vbmi")))]
4141
32 => transize_raw(avx2_pshufb, self, idxs),
42-
#[cfg(target_feature = "avx512vl,avx512vbmi")]
42+
#[cfg(all(target_feature = "avx512vl", target_feature = "avx512vbmi"))]
4343
32 => transize(x86::_mm256_permutexvar_epi8, self, idxs),
4444
// Notable absence: avx512bw shuffle
4545
// If avx512bw is available, odds of avx512vbmi are good

0 commit comments

Comments
 (0)