]> git.pld-linux.org Git - packages/OpenAL.git/blobdiff - OpenAL-nosse.patch
up to 1.21.1
[packages/OpenAL.git] / OpenAL-nosse.patch
index cf2a9d6c7a664ef48ce82d7251913bac7bd68869..97fb3cc435700991130f3600cfdc4ac524a4a980 100644 (file)
      return _mm_cvttsd_si32(_mm_set_sd(d));
  
  #elif ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__)) && \
---- openal-soft-1.20.0/alc/helpers.cpp.orig    2019-11-28 09:45:08.000000000 +0100
-+++ openal-soft-1.20.0/alc/helpers.cpp 2019-12-04 18:37:09.810067181 +0100
+--- openal-soft-1.20.0/core/fpu_ctrl.cpp.orig  2019-11-28 09:45:08.000000000 +0100
++++ openal-soft-1.20.0/core/fpu_ctrl.cpp       2019-12-04 18:37:09.810067181 +0100
 @@ -209,7 +209,7 @@
- FPUCtl::FPUCtl()
  {
+     if(this->in_mode) return;
 -#if defined(HAVE_SSE_INTRINSICS)
 +#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE_MATH__)
      this->sse_state = _mm_getcsr();
      _mm_setcsr(this->sse_state);
  
  #elif defined(__GNUC__) && defined(HAVE_SSE)
+--- openal-soft-1.21.0/alc/effects/convolution.cpp.orig        2020-11-04 11:00:35.000000000 +0100
++++ openal-soft-1.21.0/alc/effects/convolution.cpp     2020-11-05 06:23:28.093700396 +0100
+@@ -1,7 +1,7 @@
+ #include "config.h"
+-#ifdef HAVE_SSE_INTRINSICS
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
+ #include <xmmintrin.h>
+ #endif
+@@ -108,7 +108,7 @@
+ void apply_fir(al::span<float> dst, const float *RESTRICT src, const float *RESTRICT filter)
+ {
+-#ifdef HAVE_SSE_INTRINSICS
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
+     for(float &output : dst)
+     {
+         __m128 r4{_mm_setzero_ps()};
+--- openal-soft-1.21.0/core/uhjfilter.cpp.orig 2020-11-04 11:00:35.000000000 +0100
++++ openal-soft-1.21.0/core/uhjfilter.cpp      2020-11-05 06:29:14.128492431 +0100
+@@ -3,7 +3,7 @@
+ #include "uhjfilter.h"
+-#ifdef HAVE_SSE_INTRINSICS
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
+ #include <xmmintrin.h>
+ #endif
+@@ -75,7 +75,7 @@
+ void allpass_process(al::span<float> dst, const float *RESTRICT src)
+ {
+-#ifdef HAVE_SSE_INTRINSICS
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
+     size_t pos{0};
+     if(size_t todo{dst.size()>>1})
+     {
This page took 0.096637 seconds and 4 git commands to generate.