You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
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@gmail.com>
This commit is contained in:
@ -145,7 +145,7 @@ cglobal ebur128_filter_channels, 7, 9, 14, dsp, samples, cache400, cache3000, su
|
|||||||
RET
|
RET
|
||||||
|
|
||||||
cglobal ebur128_find_peak_2ch, 4, 5, 3, ch_peaks, channels, samples, nb_samples
|
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]
|
movupd m0, [ch_peaksq]
|
||||||
.loop:
|
.loop:
|
||||||
movupd m1, [samplesq]
|
movupd m1, [samplesq]
|
||||||
|
Reference in New Issue
Block a user