Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/simd_avx2.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-24 20:55:48 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-24 20:55:48 +0200
commit27e0f91bae59415b7f35ad9a88cd90bb421838c5 (patch)
tree131967568ae9ae7be04d4d1814984c999cb66e0e /extra/firefox/simd_avx2.patch
parent26eba053340134c0395de8a3f7afcd076e2c18bb (diff)
extra/firefox: AVX2 patch, using gcc 12, bfd linker and fdlibm float_t patching
Diffstat (limited to 'extra/firefox/simd_avx2.patch')
-rw-r--r--extra/firefox/simd_avx2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/firefox/simd_avx2.patch b/extra/firefox/simd_avx2.patch
new file mode 100644
index 00000000..ee94a034
--- /dev/null
+++ b/extra/firefox/simd_avx2.patch
@@ -0,0 +1,11 @@
+diff -rauN a/mozglue/misc/SIMD_avx2.cpp b/mozglue/misc/SIMD_avx2.cpp
+--- a/mozglue/misc/SIMD_avx2.cpp 2022-10-24 18:34:51.028779452 +0200
++++ b/mozglue/misc/SIMD_avx2.cpp 2022-10-24 18:35:07.818868490 +0200
+@@ -8,6 +8,7 @@
+ #include "mozilla/SSE.h"
+ #include "mozilla/Assertions.h"
+
++#undef MOZILLA_MAY_SUPPORT_AVX2
+ #ifdef MOZILLA_MAY_SUPPORT_AVX2
+
+ # include <cstring>