Mercurial > mplayer.hg
changeset 22995:70d7c6206f33
skip MMX code in rgb32to15 if the size of the input is smaller than the
size of the units the MMX code processes
author | ivo |
---|---|
date | Wed, 18 Apr 2007 09:24:49 +0000 |
parents | ac77d9ef8c83 |
children | 2a60af5e78a7 |
files | libswscale/rgb2rgb_template.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/rgb2rgb_template.c Tue Apr 17 20:38:17 2007 +0000 +++ b/libswscale/rgb2rgb_template.c Wed Apr 18 09:24:49 2007 +0000 @@ -513,6 +513,7 @@ "movq %3, %%mm5 \n\t" "movq %4, %%mm6 \n\t" "movq %5, %%mm7 \n\t" + "jmp 2f \n\t" ASMALIGN(4) "1: \n\t" PREFETCH" 32(%1) \n\t" @@ -536,6 +537,7 @@ MOVNTQ" %%mm0, (%0) \n\t" "add $16, %1 \n\t" "add $8, %0 \n\t" + "2: \n\t" "cmp %2, %1 \n\t" " jb 1b \n\t" : "+r" (d), "+r"(s)