Skip to content

Commit 3ff8d4f

Browse files
author
Oli
committed
DSP: Enable SIMD on ARM only when NEON is available
1 parent 522217d commit 3ff8d4f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/juce_dsp/juce_dsp.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@
8585
#elif JUCE_ARM
8686

8787
#ifndef JUCE_USE_SIMD
88-
#define JUCE_USE_SIMD 1
88+
#if JUCE_USE_ARM_NEON
89+
#define JUCE_USE_SIMD 1
90+
#else
91+
#define JUCE_USE_SIMD 0
92+
#endif
8993
#endif
9094

9195
#if JUCE_64BIT && JUCE_WINDOWS

0 commit comments

Comments
 (0)