aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-16 00:01:00 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-02 22:30:44 +0200
commit03737412a32c3b7e52cfe661bde7947665898c19 (patch)
tree878dc727ff859d44870c5a9920ff8130ec41132f
parent81905088a19a3d3913f9e2876de660acf3662911 (diff)
downloadffmpeg-03737412a32c3b7e52cfe661bde7947665898c19.tar.gz
x86: proresdsp: improve SIGNEXTEND macro comments
-rw-r--r--libavcodec/x86/proresdsp.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm
index 70fd6862a3..bce36ac1fc 100644
--- a/libavcodec/x86/proresdsp.asm
+++ b/libavcodec/x86/proresdsp.asm
@@ -405,12 +405,12 @@ cglobal prores_idct_put_10, 4, 4, %1
RET
%endmacro
-%macro SIGNEXTEND 2-3 ; dstlow, dsthigh, tmp
-%if cpuflag(sse4)
+%macro SIGNEXTEND 2-3
+%if cpuflag(sse4) ; dstlow, dsthigh
movhlps %2, %1
pmovsxwd %1, %1
pmovsxwd %2, %2
-%else ; sse2
+%elif cpuflag(sse2) ; dstlow, dsthigh, tmp
pxor %3, %3
pcmpgtw %3, %1
mova %2, %1