Skip to content

Commit

Permalink
fix(core): Support NEON instructions.
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Nana <[email protected]>
  • Loading branch information
na2axl committed Oct 26, 2024
1 parent e91ce10 commit 395b3a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ namespace SparkyStudios::Audio::Amplitude
typedef xsimd::batch<AmReal32, xsimd::sse3> simd_batch;
#elif defined(AM_SIMD_ARCH_SSE2)
typedef xsimd::batch<AmReal32, xsimd::sse2> simd_batch;
#elif defined(AM_SIMD_ARCH_NEON)
#if defined(AM_CPU_ARM_64)
typedef xsimd::batch<AmReal32, xsimd::neon64> simd_batch;
#else
typedef xsimd::batch<AmReal32, xsimd::neon> simd_batch;
#endif // __LP64__
#endif // AM_SIMD_ARCH_AVX2

typedef simd_batch::arch_type simd_arch;
Expand Down

0 comments on commit 395b3a7

Please sign in to comment.