Skip to content

Commit

Permalink
Fix target_feature config in portable-simd
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau authored and calebzulawski committed Feb 17, 2024
1 parent afa70e6 commit 64bd26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/src/swizzle_dyn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ where
16 => transize(vqtbl1q_u8, self, idxs),
#[cfg(all(target_feature = "avx2", not(target_feature = "avx512vbmi")))]
32 => transize_raw(avx2_pshufb, self, idxs),
#[cfg(target_feature = "avx512vl,avx512vbmi")]
#[cfg(all(target_feature = "avx512vl", target_feature = "avx512vbmi"))]
32 => transize(x86::_mm256_permutexvar_epi8, self, idxs),
// Notable absence: avx512bw shuffle
// If avx512bw is available, odds of avx512vbmi are good
Expand Down

0 comments on commit 64bd26f

Please sign in to comment.