PR #23688 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23688 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23688.patch
Signed-off-by: Zhao Zhili <[email protected]> # Summary of changes Briefly describe what this PR does and why. <!-- If this PR requires new FATE test samples, attach them to the PR and list their target paths below (relative to the fate-suite root). Attached filenames must match the sample's filename: ```fate-samples # e.g. vorbis/new-sample.ogg ``` --> >From 5bb82ed1eedee26f010fa90c11f00669eccbb95c Mon Sep 17 00:00:00 2001 From: Zhao Zhili <[email protected]> Date: Fri, 3 Jul 2026 19:04:37 +0800 Subject: [PATCH] swscale/x86: fix SIGILL in u8 SCALE on SSE4-only CPUs Signed-off-by: Zhao Zhili <[email protected]> --- libswscale/x86/ops_int.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libswscale/x86/ops_int.asm b/libswscale/x86/ops_int.asm index ce9ab1fdc9..395feb9531 100644 --- a/libswscale/x86/ops_int.asm +++ b/libswscale/x86/ops_int.asm @@ -733,7 +733,12 @@ IF W, packuswb %4, m11 %macro SCALE 0 LOAD_CONT tmp0q %if BITS == 8 +%if cpuflag(avx2) vpbroadcastw m12, [implq + SwsOpImpl.priv] +%else + movd xm12, [implq + SwsOpImpl.priv] + SPLATW m12, xm12, 0 +%endif pxor m15, m15 scale8 mx, my, mz, mw, m12 IF1 V2, scale8 mx2, my2, mz2, mw2, m12 -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
