Commit 584327f2 authored by James Almer's avatar James Almer Committed by Michael Niedermayer

x86/dsputil: fix argument declaration in vector_clipf

Should fix fate failures in msvc x86_64
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 518cbf9b
......@@ -631,10 +631,10 @@ PUT_SIGNED_PIXELS_CLAMPED 3
; float min, float max, int len)
;-----------------------------------------------------
INIT_XMM sse
%if ARCH_X86_32
cglobal vector_clipf, 5,5,6, dst, src, min, max, len
%else
%if UNIX64
cglobal vector_clipf, 3,3,6, dst, src, len
%else
cglobal vector_clipf, 5,5,6, dst, src, min, max, len
%endif
%if WIN64
SWAP 0, 2
......@@ -645,7 +645,7 @@ cglobal vector_clipf, 3,3,6, dst, src, len
%endif
SPLATD m0
SPLATD m1
shl lenq, 2
shl lend, 2
add srcq, lenq
add dstq, lenq
neg lenq
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment