From 39f3c98bb1f405161b1d484438f73573b3f326b4 Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 14 Oct 2021 18:09:08 -0300 Subject: [PATCH] x86/vf_lut3d: use three operand form for some instructions Fixes compilation with old yasm. Signed-off-by: James Almer --- libavfilter/x86/vf_lut3d.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/x86/vf_lut3d.asm b/libavfilter/x86/vf_lut3d.asm index 31a46e327d..a39fa65040 100644 --- a/libavfilter/x86/vf_lut3d.asm +++ b/libavfilter/x86/vf_lut3d.asm @@ -338,22 +338,22 @@ endstruc ; g> !r>g && g>b andnps m9, m13, m14 BLEND m12, prev_g, next_g, m9 - addps m10, m12 + addps m10, m10, m12 ; g< !g>b && r>g andnps m9, m14, m13 BLEND m12, next_g, prev_g, m9 - addps m11, m12 + addps m11, m11, m12 ; b> !g>b && b>r andnps m9, m14, m15 BLEND m12, prev_b, next_b, m9 - addps m10, m12 + addps m10, m10, m12 ; b< !b>r && g>b andnps m9, m15, m14 BLEND m12, next_b, prev_b, m9 - addps m11, m12 + addps m11, m11, m12 ; c000 m12; ADD3 m12, prev_r, prev_g, prev_b