aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer/mixer_sse41.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/mixer/mixer_sse41.cpp')
-rw-r--r--core/mixer/mixer_sse41.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/mixer/mixer_sse41.cpp b/core/mixer/mixer_sse41.cpp
index cacc9e64..f7839b78 100644
--- a/core/mixer/mixer_sse41.cpp
+++ b/core/mixer/mixer_sse41.cpp
@@ -31,6 +31,10 @@ struct SSE4Tag;
struct LerpTag;
+#if defined(__GNUC__) && !defined(__clang__) && !defined(__SSE4_1__)
+#pragma GCC target("sse4.1")
+#endif
+
template<>
const float *Resample_<LerpTag,SSE4Tag>(const InterpState*, const float *RESTRICT src, uint frac,
uint increment, const al::span<float> dst)