Commit 3355c0c9 authored by michael's avatar michael

100l (signed vs. unsigend)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3530 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5f9a2bb7
...@@ -2707,12 +2707,14 @@ asm volatile( ...@@ -2707,12 +2707,14 @@ asm volatile(
"paddb %%mm2, %%mm0 \n\t" "paddb %%mm2, %%mm0 \n\t"
"psubusb %%mm3, %%mm4 \n\t" "psubusb %%mm3, %%mm4 \n\t"
"pxor %%mm6, %%mm6 \n\t"
"movq %4, %%mm7 \n\t" // QP,..., QP "movq %4, %%mm7 \n\t" // QP,..., QP
"paddusb %%mm7, %%mm7 \n\t" // 2QP ... 2QP "paddusb %%mm7, %%mm7 \n\t" // 2QP ... 2QP
"pcmpgtb %%mm4, %%mm7 \n\t" // Diff < 2QP -> FF "psubusb %%mm4, %%mm7 \n\t" // Diff >=2QP -> 0
"pcmpeqb %%mm6, %%mm7 \n\t" // Diff < 2QP -> 0
"pcmpeqb %%mm6, %%mm7 \n\t" // Diff < 2QP -> 0
"movq %%mm7, %1 \n\t" "movq %%mm7, %1 \n\t"
"pxor %%mm6, %%mm6 \n\t"
"movq %5, %%mm7 \n\t" "movq %5, %%mm7 \n\t"
"punpcklbw %%mm7, %%mm7 \n\t" "punpcklbw %%mm7, %%mm7 \n\t"
"punpcklbw %%mm7, %%mm7 \n\t" "punpcklbw %%mm7, %%mm7 \n\t"
......
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