Skip to content
Snippets Groups Projects
Commit 236a550c authored by Justin Ruggles's avatar Justin Ruggles
Browse files

Fix a typo in the x86 asm version of ff_vector_clip_int32()

Specifies the correct number of xmm registers used so that they can be saved
and restored on Win64 if necessary.
parent 3c432631
No related branches found
No related tags found
No related merge requests found
...@@ -1063,7 +1063,7 @@ emu_edge mmx ...@@ -1063,7 +1063,7 @@ emu_edge mmx
; %4 = CLIPD function takes min/max as float instead of int (CLIPD_SSE2) ; %4 = CLIPD function takes min/max as float instead of int (CLIPD_SSE2)
; %5 = suffix ; %5 = suffix
%macro VECTOR_CLIP_INT32 4-5 %macro VECTOR_CLIP_INT32 4-5
cglobal vector_clip_int32%5, 5,5,%2, dst, src, min, max, len cglobal vector_clip_int32%5, 5,5,%1, dst, src, min, max, len
%if %4 %if %4
cvtsi2ss m4, minm cvtsi2ss m4, minm
cvtsi2ss m5, maxm cvtsi2ss m5, maxm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment