diff options
Diffstat (limited to 'libs/ardour/sse_functions_avx.cc')
-rw-r--r-- | libs/ardour/sse_functions_avx.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/sse_functions_avx.cc b/libs/ardour/sse_functions_avx.cc index 89cb91f2ea..218f3f5e91 100644 --- a/libs/ardour/sse_functions_avx.cc +++ b/libs/ardour/sse_functions_avx.cc @@ -48,9 +48,9 @@ x86_sse_avx_find_peaks(const float* buf, uint32_t nframes, float *min, float *ma // use 64 byte prefetch for quadruple quads: // load each 64 bytes into cash before processing while (nframes >= 16) { -#if defined(COMPILER_MSVC) || defined(COMPILER_MINGW) +#if defined(COMPILER_MSVC) || defined(COMPILER_MINGW) _mm_prefetch(((char*)buf+64), _mm_hint(0) ); -#else +#else __builtin_prefetch(buf+64,0,0); #endif work = _mm256_load_ps(buf); |