x86/opusdsp: fix WIN64 return value
authorLynne <dev@lynne.ee>
Mon, 1 Apr 2019 12:06:34 +0000 (13:06 +0100)
committerJames Almer <jamrial@gmail.com>
Mon, 1 Apr 2019 14:06:34 +0000 (11:06 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/x86/opusdsp.asm

index ed65614..6c99821 100644 (file)
@@ -38,10 +38,9 @@ cglobal opus_deemphasis, 4, 4, 8, out, in, coeff, len
 %endif
 %if ARCH_X86_32
     VBROADCASTSS m0, coeffm
+%elif WIN64
+    shufps m0, m2, m2, 0
 %else
-%if WIN64
-    SWAP 0, 2
-%endif
     shufps m0, m0, 0
 %endif