[FFmpeg-cvslog] x86/blockdsp: use three operand form for an instruction

James Almer git at videolan.org
Thu Oct 5 05:52:03 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Oct  4 23:51:17 2017 -0300| [18279738f9a28fecded6c87a0608af6a8793108d] | committer: James Almer

x86/blockdsp: use three operand form for an instruction

Fixes assembling with old yasm.

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

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

diff --git a/libavcodec/x86/blockdsp.asm b/libavcodec/x86/blockdsp.asm
index 2498bd40b3..9d203df8f5 100644
--- a/libavcodec/x86/blockdsp.asm
+++ b/libavcodec/x86/blockdsp.asm
@@ -34,7 +34,7 @@ SECTION .text
 ; %2 = number of inline store loops
 %macro CLEAR_BLOCK 2
 cglobal clear_block, 1, 1, %1, blocks
-    ZERO  m0, m0
+    ZERO  m0, m0, m0
 %assign %%i 0
 %rep %2
     mova  [blocksq+mmsize*(0+%%i)], m0
@@ -63,7 +63,7 @@ CLEAR_BLOCK 1, 1
 cglobal clear_blocks, 1, 2, %1, blocks, len
     add   blocksq, 768
     mov      lenq, -768
-    ZERO       m0, m0
+    ZERO       m0, m0, m0
 .loop:
     mova  [blocksq+lenq+mmsize*0], m0
     mova  [blocksq+lenq+mmsize*1], m0



More information about the ffmpeg-cvslog mailing list