[FFmpeg-cvslog] avfilter/x86/f_ebur128: replace AVX2 instruction with AVX equivalent
James Almer
git at videolan.org
Sun Jun 22 15:32:26 EEST 2025
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Jun 21 23:22:31 2025 -0300| [dbe94e1110090fbfd0a105c847298d8e3fbc92f1] | committer: James Almer
avfilter/x86/f_ebur128: replace AVX2 instruction with AVX equivalent
Using vpbroadcastq in an AVX function will result in SIGILL errors on pre
Haswell/Zen processors.
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dbe94e1110090fbfd0a105c847298d8e3fbc92f1
---
libavfilter/x86/f_ebur128.asm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/x86/f_ebur128.asm b/libavfilter/x86/f_ebur128.asm
index c7a3e1846d..72ff47b46e 100644
--- a/libavfilter/x86/f_ebur128.asm
+++ b/libavfilter/x86/f_ebur128.asm
@@ -145,7 +145,7 @@ cglobal ebur128_filter_channels, 7, 9, 14, dsp, samples, cache400, cache3000, su
RET
cglobal ebur128_find_peak_2ch, 4, 5, 3, ch_peaks, channels, samples, nb_samples
- vpbroadcastq m2, [abs_mask]
+ movddup m2, [abs_mask]
movupd m0, [ch_peaksq]
.loop:
movupd m1, [samplesq]
More information about the ffmpeg-cvslog
mailing list