From 3e04cfcc33b823c92c727e43a4b6d8a156409cc9 Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Tue, 15 Oct 2024 13:37:08 +0200 Subject: [PATCH] fix portable simd on arm v7 neon --- src/implementation/portable/simd128.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/implementation/portable/simd128.rs b/src/implementation/portable/simd128.rs index a8c43f68..0683b296 100644 --- a/src/implementation/portable/simd128.rs +++ b/src/implementation/portable/simd128.rs @@ -106,9 +106,6 @@ impl SimdU8Value { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, ) .0; - #[cfg(all(target_arch = "arm", target_feature = "neon"))] - let res = unsafe { Self::arm_neon_swizzle_dyn(src, idx) }; - #[cfg(not(all(target_arch = "arm", target_feature = "neon")))] let res = src.swizzle_dyn(idx); Self::from(res) }