[FFmpeg-cvslog] x86/tx_float: set all operands for shufps

James Almer git at videolan.org
Tue Sep 6 20:08:11 EEST 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Sep  6 14:06:03 2022 -0300| [74f5fb6db899dbc4fde9ccf77f37256ddcaaaab9] | committer: James Almer

x86/tx_float: set all operands for shufps

Fixes compilation with AVX2 enabled yasm.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=74f5fb6db899dbc4fde9ccf77f37256ddcaaaab9
---

 libavutil/x86/tx_float.asm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
index 69f67720c1..6d33ee7f30 100644
--- a/libavutil/x86/tx_float.asm
+++ b/libavutil/x86/tx_float.asm
@@ -1408,8 +1408,8 @@ cglobal mdct_sr_inv_float, 4, 12, 16, 288, ctx, out, in, stride, len, lut, exp,
     mulps m10, m2                    ; 1 reim * imim
     mulps m11, m3                    ; 2 reim * imim
 
-    shufps m10, m10, q2301
-    shufps m11, m11, q2301
+    shufps m10, m10, m10, q2301
+    shufps m11, m11, m11, q2301
 
     fmaddsubps m10, m12, m2, m10
     fmaddsubps m11, m13, m3, m11



More information about the ffmpeg-cvslog mailing list