mozilla-buildfixes.patch
branchfirefox115
changeset 1190 2a24a948b5cf
parent 1189 ba0c97b018a6
child 1191 37e065158be7
--- a/mozilla-buildfixes.patch	Mon Jun 05 21:17:55 2023 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# HG changeset patch
-# User Wolfgang Rosenauer <wr@rosenauer.org>
-# Parent  e583ac9b86ba82dd1c60d307115b4cb96296a6af
-# References: bmo#1792159 - Add missing includes to AtomicOperationsGenerated.h
-
-diff --git a/mozglue/misc/SIMD_avx2.cpp b/mozglue/misc/SIMD_avx2.cpp
---- a/mozglue/misc/SIMD_avx2.cpp
-+++ b/mozglue/misc/SIMD_avx2.cpp
-@@ -53,17 +53,17 @@ template <typename TValue>
-   }
-   if (sizeof(TValue) == 2) {
-     return _mm256_cmpeq_epi16(a, b);
-   }
- 
-   return _mm256_cmpeq_epi64(a, b);
- }
- 
--#  if defined(__GNUC__) && !defined(__clang__)
-+#  if 0
- 
- // See the comment in SIMD.cpp over Load32BitsIntoXMM. This is just adapted
- // from that workaround. Testing this, it also yields the correct instructions
- // across all tested compilers.
- __m128i Load64BitsIntoXMM(uintptr_t ptr) {
-   int64_t tmp;
-   memcpy(&tmp, reinterpret_cast<const void*>(ptr), sizeof(tmp));
-   return _mm_cvtsi64_si128(tmp);