~mozillateam/firefox/firefox-beta.xenial

« back to all changes in this revision

Viewing changes to debian/patches/D172126.diff

  • Committer: Rico Tzschichholz
  • Date: 2023-03-27 06:40:47 UTC
  • Revision ID: ricotz@ubuntu.com-20230327064047-wby4xxvgc4z27jh4
* New upstream release from the beta channel (FIREFOX_112_0b7_BUILD1)
* Drop upstreamed or obsolete patches
  - debian/patches/D172126.diff
  - debian/patches/webaudio-armhf-neon-ftbfs.patch
* Bump build-dep to python >= 3.7
  - debian/config/mozconfig.in
  - debian/control{,.in}
* Fix i386 build failure
  - debian/patches/dom-i386-sse2-ftbfs.patch
* Update patches
  - debian/patches/unity-menubar.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Use fully specified xsimd::batch type r=padenot
2
 
# https://bugzilla.mozilla.org/show_bug.cgi?id=1821363
3
 
 
4
 
diff --git a/dom/media/webaudio/AudioNodeEngineGeneric.h b/dom/media/webaudio/AudioNodeEngineGeneric.h
5
 
--- a/dom/media/webaudio/AudioNodeEngineGeneric.h
6
 
+++ b/dom/media/webaudio/AudioNodeEngineGeneric.h
7
 
@@ -203,14 +203,14 @@
8
 
     MOZ_ASSERT((aSize % xsimd::batch<float, Arch>::size == 0),
9
 
                "requires tail processing");
10
 
 
11
 
     MOZ_UNROLL(2)
12
 
     for (unsigned i = 0; i < aSize * 2;
13
 
-         i += 2 * xsimd::batch<std::complex<float>>::size) {
14
 
-      auto in1 = xsimd::batch<std::complex<float>>::load_aligned(
15
 
+         i += 2 * xsimd::batch<std::complex<float>, Arch>::size) {
16
 
+      auto in1 = xsimd::batch<std::complex<float>, Arch>::load_aligned(
17
 
           reinterpret_cast<const std::complex<float>*>(&aInput[i]));
18
 
-      auto in2 = xsimd::batch<std::complex<float>>::load_aligned(
19
 
+      auto in2 = xsimd::batch<std::complex<float>, Arch>::load_aligned(
20
 
           reinterpret_cast<const std::complex<float>*>(&aScale[i]));
21
 
       auto out = in1 * in2;
22
 
       out.store_aligned(reinterpret_cast<std::complex<float>*>(&aOutput[i]));
23
 
     }
24
 
   };
25