From e4cecc1ab73d0422f6a5f63b6a01eb8b1be303ad Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Thu, 11 May 2023 17:22:00 -0700 Subject: [PATCH] Correct swizzle_dyn cfg for armv7 neon --- library/portable-simd/crates/core_simd/src/swizzle_dyn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/portable-simd/crates/core_simd/src/swizzle_dyn.rs b/library/portable-simd/crates/core_simd/src/swizzle_dyn.rs index 3eb80d5dca1..6065d645937 100644 --- a/library/portable-simd/crates/core_simd/src/swizzle_dyn.rs +++ b/library/portable-simd/crates/core_simd/src/swizzle_dyn.rs @@ -18,7 +18,7 @@ pub fn swizzle_dyn(self, idxs: Simd) -> Self { #![allow(unused_imports, unused_unsafe)] #[cfg(target_arch = "aarch64")] use core::arch::aarch64::{uint8x8_t, vqtbl1q_u8, vtbl1_u8}; - #[cfg(all(target_arch = "arm", target_feature = "v7"))] + #[cfg(all(target_arch = "arm", target_feature = "v7", target_feature = "neon"))] use core::arch::arm::{uint8x8_t, vtbl1_u8}; #[cfg(target_arch = "wasm32")] use core::arch::wasm32 as wasm;