1
# Use fully specified xsimd::batch type r=padenot
2
# https://bugzilla.mozilla.org/show_bug.cgi?id=1821363
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
8
MOZ_ASSERT((aSize % xsimd::batch<float, Arch>::size == 0),
9
"requires tail processing");
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]));
22
out.store_aligned(reinterpret_cast<std::complex<float>*>(&aOutput[i]));