32 |
; * |
; * |
33 |
; * History: |
; * History: |
34 |
; * |
; * |
35 |
|
; * 24.04.2002 had to use sse2's movdqu instead of movdqa (???) |
36 |
; * 17.04.2002 sse2 stuff |
; * 17.04.2002 sse2 stuff |
37 |
; * 22.03.2002 0.01 ; Min Chen <chenm001@163.com> |
; * 22.03.2002 0.01 ; Min Chen <chenm001@163.com> |
38 |
; * ; use 386 cpu's 'BTS' to replace 'cbp |= 1 << (edx-1)' |
; * ; use 386 cpu's 'BTS' to replace 'cbp |= 1 << (edx-1)' |
155 |
push esi |
push esi |
156 |
|
|
157 |
mov esi, [esp + 4 + 4] ; coeff |
mov esi, [esp + 4 + 4] ; coeff |
158 |
movdqa xmm7, [ignore_dc] ; mask to ignore dc value |
movdqu xmm7, [ignore_dc] ; mask to ignore dc value |
159 |
|
|
160 |
xor eax, eax ; cbp = 0 |
xor eax, eax ; cbp = 0 |
161 |
pxor xmm6, xmm6 ; zeroes to help psadbw |
pxor xmm6, xmm6 ; zeroes to help psadbw |