From 395b3a70cb05800653d2f401e809fb7cabb94225 Mon Sep 17 00:00:00 2001 From: Axel Nana Date: Sat, 26 Oct 2024 20:44:40 +0100 Subject: [PATCH] fix(core): Support NEON instructions. Signed-off-by: Axel Nana --- src/Utils/Utils.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Utils/Utils.h b/src/Utils/Utils.h index 68ca12c..ac34103 100644 --- a/src/Utils/Utils.h +++ b/src/Utils/Utils.h @@ -54,6 +54,12 @@ namespace SparkyStudios::Audio::Amplitude typedef xsimd::batch simd_batch; #elif defined(AM_SIMD_ARCH_SSE2) typedef xsimd::batch simd_batch; +#elif defined(AM_SIMD_ARCH_NEON) +#if defined(AM_CPU_ARM_64) + typedef xsimd::batch simd_batch; +#else + typedef xsimd::batch simd_batch; +#endif // __LP64__ #endif // AM_SIMD_ARCH_AVX2 typedef simd_batch::arch_type simd_arch;