Skip to content

Commit f975656

Browse files
committed
Fix includes
1 parent b7ef55d commit f975656

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

modules/yup_simd/yup_simd.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,6 @@
4848

4949
#include "yup_simd.h"
5050

51-
#if YUP_USE_AVX_INTRINSICS || YUP_USE_FMA_INTRINSICS
52-
#include <immintrin.h>
53-
#endif
54-
55-
#if YUP_USE_SSE_INTRINSICS
56-
#include <emmintrin.h>
57-
#endif
58-
59-
#if YUP_USE_ARM_NEON
60-
#if YUP_64BIT && JUCE_WINDOWS
61-
#include <arm64_neon.h>
62-
#else
63-
#include <arm_neon.h>
64-
#endif
65-
#endif
66-
6751
#if YUP_USE_VDSP_FRAMEWORK
6852
#include <Accelerate/Accelerate.h>
6953
#endif

modules/yup_simd/yup_simd.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,23 @@
109109
#undef YUP_USE_VDSP_FRAMEWORK
110110
#endif
111111

112+
//==============================================================================
113+
#if YUP_USE_AVX_INTRINSICS || YUP_USE_FMA_INTRINSICS
114+
#include <immintrin.h>
115+
#endif
116+
117+
#if YUP_USE_SSE_INTRINSICS
118+
#include <emmintrin.h>
119+
#endif
120+
121+
#if YUP_USE_ARM_NEON
122+
#if YUP_64BIT && YUP_WINDOWS
123+
#include <arm64_neon.h>
124+
#else
125+
#include <arm_neon.h>
126+
#endif
127+
#endif
128+
112129
//==============================================================================
113130
#include <chrono>
114131
#include <type_traits>

0 commit comments

Comments
 (0)