aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-04 23:51:17 -0300
committerJames Almer <jamrial@gmail.com>2017-10-04 23:51:44 -0300
commit18279738f9a28fecded6c87a0608af6a8793108d (patch)
tree27abf16f781636b6b80136eb2c71570e55772892
parent26ea142658a8be16d13bb430ced14ef544f8afe9 (diff)
downloadffmpeg-18279738f9a28fecded6c87a0608af6a8793108d.tar.gz
x86/blockdsp: use three operand form for an instruction
Fixes assembling with old yasm.
-rw-r--r--libavcodec/x86/blockdsp.asm4
1 files 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