summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2019-05-02 21:16:58 +0200
committerJames Darnley <jdarnley@obe.tv>2019-05-02 21:20:54 +0200
commit46f1718cd97c7ecb824cff29f6bc3f311046ff8d (patch)
tree0157b6faeb4e7504b709ce6b7fe3ed90c0e7d5c4 /libavcodec/x86
parent73ef1f47f59333328264a968c8fbbcfb0bf0643f (diff)
avcodec/x86/v210: fix operands of vpblendd used in new avx2 code
Assembly failed when using yasm rather than nasm.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/v210.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/v210.asm b/libavcodec/x86/v210.asm
index 706712313d..65bc61e780 100644
--- a/libavcodec/x86/v210.asm
+++ b/libavcodec/x86/v210.asm
@@ -77,7 +77,7 @@ cglobal v210_planar_unpack_%1, 5, 5, 8
vpermd m2, m6, m2 ; 00 00 00 00 yB yA y9 y8 y7 y6 y5 y4 y3 y2 y1 y0
movu [r1+2*r4], m2
- vpblendd m1, m0, 0xaa ; 00 v5 u5 v4 00 u4 v3 u3 00 v2 u2 v1 00 u1 v0 u0
+ vpblendd m1, m1, m0, 0xaa ; 00 v5 u5 v4 00 u4 v3 u3 00 v2 u2 v1 00 u1 v0 u0
pshufb m1, m5 ; 00 v5 v4 v3 00 u5 u4 u3 00 v2 v1 v0 00 u2 u1 u0
vpermq m1, m1, 0xd8 ; 00 v5 v4 v3 00 v2 v1 v0 00 u5 u4 u3 00 u2 u1 u0
pshufb m1, m7 ; 00 00 v5 v4 v3 v2 v1 v0 00 00 u5 u4 u3 u2 u1 u0