Commit 03737412 authored by Diego Biurrun's avatar Diego Biurrun

x86: proresdsp: improve SIGNEXTEND macro comments

parent 81905088
...@@ -405,12 +405,12 @@ cglobal prores_idct_put_10, 4, 4, %1 ...@@ -405,12 +405,12 @@ cglobal prores_idct_put_10, 4, 4, %1
RET RET
%endmacro %endmacro
%macro SIGNEXTEND 2-3 ; dstlow, dsthigh, tmp %macro SIGNEXTEND 2-3
%if cpuflag(sse4) %if cpuflag(sse4) ; dstlow, dsthigh
movhlps %2, %1 movhlps %2, %1
pmovsxwd %1, %1 pmovsxwd %1, %1
pmovsxwd %2, %2 pmovsxwd %2, %2
%else ; sse2 %elif cpuflag(sse2) ; dstlow, dsthigh, tmp
pxor %3, %3 pxor %3, %3
pcmpgtw %3, %1 pcmpgtw %3, %1
mova %2, %1 mova %2, %1
......
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