Lines Matching defs:ebx

38     push ebx          //CPUID will trash these
80 pop ebx
334 mov ebx,dstptr //load dest
342 pandn mm6,[ebx]
344 movq [ebx],mm4
347 add ebx,8
364 mov [ebx],al
367 inc ebx
437 mov ebx,dstptr //load dest
445 movq mm7,[ebx]
448 movq [ebx],mm4
453 movq mm6,[ebx+8]
456 movq [ebx+8],mm5
459 add ebx,16
475 mov [ebx],ax
478 add ebx,2
554 mov ebx,dstptr //load dest
562 movq mm7,[ebx]
565 movq [ebx],mm4
571 movq mm6,[ebx+8]
574 movq [ebx+8],mm5
579 movq mm7,[ebx+16]
582 movq [ebx+16],mm6
585 add ebx,24
601 mov [ebx],ax
604 mov [ebx+2],al
607 add ebx,3
688 mov ebx,dstptr //load dest
697 movq mm7,[ebx]
700 movq [ebx],mm4
705 movq mm6,[ebx+8]
708 movq [ebx+8],mm5
713 movq mm7,[ebx+16]
716 movq [ebx+16],mm6
721 movq mm4,[ebx+24]
724 movq [ebx+24],mm7
727 add ebx,32
743 mov [ebx],eax
746 add ebx,4
834 mov ebx,dstptr //load dest
843 pandn mm6,[ebx]
845 movq [ebx],mm7
850 pandn mm7,[ebx+8]
852 movq [ebx+8],mm6
857 pandn mm7,[ebx+16]
859 movq [ebx+16],mm6
864 pandn mm6,[ebx+24]
866 movq [ebx+24],mm7
871 pandn mm7,[ebx+32]
873 movq [ebx+32],mm6
878 pandn mm6,[ebx+40]
880 movq [ebx+40],mm7
883 add ebx,48
900 mov [ebx],eax
903 add ebx,4
1923 xor ebx, ebx // ebx ==> x
1932 mov al, [esi + ebx] // Load al with Prior(x)
1933 inc ebx
1935 add al, [edi+ebx-1] // Add Avg(x); -1 to offset inc ebx
1936 cmp ebx, bpp
1937 mov [edi+ebx-1], al // Write back Raw(x);
1938 // mov does not affect flags; -1 to offset inc ebx
1942 add diff, ebx // add bpp
1945 sub diff, edi // subtract from start ==> value ebx at alignment
1953 mov cl, [esi + ebx] // load cl with Prior(x)
1954 mov al, [edx + ebx] // load al with Raw(x-bpp)
1956 inc ebx
1958 add al, [edi+ebx-1] // Add Avg(x); -1 to offset inc ebx
1959 cmp ebx, diff // Check if at alignment boundary
1960 mov [edi+ebx-1], al // Write back Raw(x);
1961 // mov does not affect flags; -1 to offset inc ebx
1966 sub eax, ebx // subtract alignment fix
1982 mov ebx, diff // ebx ==> x = offset to alignment boundary
1988 movq mm2, [edi + ebx - 8] // Load previous aligned 8 bytes
1991 movq mm0, [edi + ebx] // Load mm0 with Avg(x)
1995 movq mm1, [esi + ebx] // Load mm1 with Prior(x)
2039 add ebx, 8
2044 movq [edi + ebx - 8], mm0
2046 cmp ebx, MMXLength
2065 mov ebx, diff // ebx ==> x = offset to alignment boundary
2075 movq mm2, [edi + ebx - 8] // Load previous aligned 8 bytes
2078 movq mm0, [edi + ebx]
2080 movq mm1, [esi + ebx]
2100 add ebx, 8
2110 cmp ebx, MMXLength
2112 movq [edi + ebx - 8], mm0
2128 mov ebx, diff // ebx ==> x = offset to alignment boundary
2134 movq mm2, [edi + ebx - 8] // Load previous aligned 8 bytes
2137 movq mm0, [edi + ebx]
2139 movq mm1, [esi + ebx]
2190 add ebx, 8
2200 cmp ebx, MMXLength
2202 movq [edi + ebx - 8], mm0
2214 mov ebx, diff // ebx ==> x = offset to alignment boundary
2216 cmp ebx, FullLength // Test if offset at end of array
2226 mov cl, [esi + ebx] // load cl with Prior(x)
2227 mov al, [edx + ebx] // load al with Raw(x-bpp)
2229 inc ebx
2231 add al, [edi+ebx-1] // Add Avg(x); -1 to offset inc ebx
2232 cmp ebx, FullLength // Check if at end of array
2233 mov [edi+ebx-1], al // Write back Raw(x);
2234 // mov does not affect flags; -1 to offset inc ebx
2245 mov ebx, diff // ebx ==> x = offset to alignment boundary
2251 movq mm2, [edi + ebx - 8] // Load previous aligned 8 bytes
2254 movq mm0, [edi + ebx]
2256 movq mm1, [esi + ebx]
2257 add ebx, 8
2268 cmp ebx, MMXLength
2269 movq [edi + ebx - 8], mm0
2280 mov ebx, diff // ebx ==> x = offset to alignment boundary
2287 movq mm0, [edi + ebx]
2289 movq mm1, [esi + ebx]
2291 movq mm2, [edx + ebx]
2300 add ebx, 8
2302 cmp ebx, MMXLength
2303 movq [edi + ebx - 8], mm0
2313 mov ebx, MMXLength // ebx ==> x = offset bytes remaining after MMX
2315 cmp ebx, FullLength // Test if offset at end of array
2325 mov cl, [esi + ebx] // load cl with Prior(x)
2326 mov al, [edx + ebx] // load al with Raw(x-bpp)
2328 inc ebx
2330 add al, [edi+ebx-1] // Add Avg(x); -1 to offset inc ebx
2331 cmp ebx, FullLength // Check if at end of array
2332 mov [edi+ebx-1], al // Write back Raw(x);
2333 // mov does not affect flags; -1 to offset inc ebx
2357 xor ebx, ebx // ebx ==> x offset
2367 mov al, [edi + ebx]
2368 add al, [esi + ebx]
2369 inc ebx
2370 cmp ebx, bpp
2371 mov [edi + ebx - 1], al
2375 add diff, ebx // add bpp
2379 sub diff, edi // subtract from start ==> value ebx at alignment
2385 mov al, [esi + ebx] // load Prior(x) into al
2426 mov cl, [esi + ebx] // load Prior(x) into cl
2439 inc ebx
2442 add [edi + ebx - 1], cl
2443 cmp ebx, diff
2448 sub eax, ebx // subtract alignment fix
2464 mov ebx, diff
2469 movq mm1, [edi+ebx-8]
2472 movq mm2, [esi + ebx] // load b=Prior(x)
2474 movq mm3, [esi+ebx-8] // Prep c=Prior(x-bpp) bytes
2525 movq mm3, [esi + ebx] // load c=Prior(x-bpp)
2528 paddb mm7, [edi + ebx] // add Paeth predictor with Raw(x)
2530 movq [edi + ebx], mm7 // write back updated value
2578 movq mm2, [esi + ebx] // load b=Prior(x)
2591 paddb mm7, [edi + ebx] // add Paeth predictor with Raw(x)
2593 movq [edi + ebx], mm7 // write back updated value
2645 // Step ebx to next set of 8 bytes and repeat loop til done
2646 add ebx, 8
2648 paddb mm1, [edi + ebx - 8] // add Paeth predictor with Raw(x)
2650 cmp ebx, MMXLength
2652 movq [edi + ebx - 8], mm1 // write back updated value
2670 mov ebx, diff
2674 movq mm1, [edi+ebx-8]
2680 movq mm3, [esi+ebx-8] // read c=Prior(x-bpp) bytes
2682 movq mm2, [esi + ebx] // load b=Prior(x)
2733 movq mm3, [esi + ebx - 8] // load c=Prior(x-bpp)
2736 movq mm2, [esi + ebx] // load b=Prior(x) step 1
2737 paddb mm7, [edi + ebx] // add Paeth predictor with Raw(x)
2739 movq [edi + ebx], mm7 // write back updated value
2740 movq mm1, [edi+ebx-8]
2798 add ebx, 8
2800 paddb mm1, [edi + ebx - 8] // add Paeth predictor with Raw(x)
2801 cmp ebx, MMXLength
2802 movq [edi + ebx - 8], mm1 // write back updated value
2813 mov ebx, diff
2818 movq mm1, [edi+ebx-8] // Only time should need to read
2822 movq mm3, [esi+ebx-8] // read c=Prior(x-bpp) bytes
2824 movq mm2, [esi + ebx] // load b=Prior(x)
2873 movq mm3, [esi + ebx] // load c=Prior(x-bpp)
2876 paddb mm7, [edi + ebx] // add Paeth predictor with Raw(x)
2878 movq [edi + ebx], mm7 // write back updated value
2930 add ebx, 8
2932 paddb mm1, [edi + ebx - 8] // add Paeth predictor with Raw(x)
2933 cmp ebx, MMXLength
2934 movq [edi + ebx - 8], mm1 // write back updated value
2944 mov ebx, diff
2949 movq mm1, [edi+ebx-8] // Only time should need to read
2953 movq mm3, [esi+ebx-8] // read c=Prior(x-bpp) bytes
2955 movq mm2, [esi + ebx] // load b=Prior(x)
3004 movq mm3, [esi+ebx-8] // read c=Prior(x-bpp) bytes
3006 movq mm2, [esi + ebx] // load b=Prior(x)
3007 paddb mm7, [edi + ebx] // add Paeth predictor with Raw(x)
3009 movq [edi + ebx], mm7 // write back updated value
3010 movq mm1, [edi+ebx-8] // read a=Raw(x-bpp) bytes
3062 add ebx, 8
3064 paddb mm1, [edi + ebx - 8] // add Paeth predictor with Raw(x)
3065 cmp ebx, MMXLength
3066 movq [edi + ebx - 8], mm1 // write back updated value
3078 mov ebx, diff
3079 cmp ebx, FullLength
3084 mov edx, ebx
3086 sub edx, bpp // Set edx = ebx - bpp
3090 mov al, [esi + ebx] // load Prior(x) into al
3131 mov cl, [esi + ebx] // load Prior(x) into cl
3144 inc ebx
3147 add [edi + ebx - 1], cl
3148 cmp ebx, FullLength
3159 mov ebx, MMXLength
3160 cmp ebx, FullLength
3165 mov edx, ebx
3167 sub edx, bpp // Set edx = ebx - bpp
3171 mov al, [esi + ebx] // load Prior(x) into al
3212 mov cl, [esi + ebx] // load Prior(x) into cl
3225 inc ebx
3228 add [edi + ebx - 1], cl
3229 cmp ebx, FullLength
3257 xor ebx, ebx
3260 // ebx at alignment
3264 mov al, [esi+ebx]
3265 add [edi+ebx], al
3266 inc ebx
3267 cmp ebx, diff
3272 sub edx, ebx // subtract alignment fix
3292 mov ebx, diff
3296 movq mm1, [edi+ebx-8]
3301 movq mm0, [edi+ebx]
3312 add ebx, 8
3314 cmp ebx, MMXLength
3315 movq [edi+ebx-8], mm0 // Write updated Raws back to array
3338 mov ebx, diff
3340 cmp ebx, FullLength
3346 mov al, [esi+ebx]
3347 add [edi+ebx], al
3348 inc ebx
3349 cmp ebx, FullLength
3365 mov ebx, diff
3369 movq mm1, [edi+ebx-8]
3373 movq mm0, [edi+ebx]
3380 add ebx, 8
3382 cmp ebx, MMXLength
3383 movq [edi+ebx-8], mm0
3397 mov ebx, diff
3408 movq mm1, [edi+ebx-8]
3414 movq mm0, [edi+ebx]
3430 add ebx, 8
3432 cmp ebx, MMXLength
3433 movq [edi+ebx-8], mm0 // Write updated Raws back to array
3443 mov ebx, diff
3447 movq mm7, [edi+ebx-8] // PRIME the pump (load the first
3451 movq mm0, [edi+ebx] // Load Sub(x) for 1st 8 bytes
3453 movq mm1, [edi+ebx+8] // Load Sub(x) for 2nd 8 bytes
3454 movq [edi+ebx], mm0 // Write Raw(x) for 1st 8 bytes
3461 movq mm2, [edi+ebx+16] // Load Sub(x) for 3rd 8 bytes
3462 movq [edi+ebx+8], mm1 // Write Raw(x) for 2nd 8 bytes
3464 movq mm3, [edi+ebx+24] // Load Sub(x) for 4th 8 bytes
3465 movq [edi+ebx+16], mm2 // Write Raw(x) for 3rd 8 bytes
3467 movq mm4, [edi+ebx+32] // Load Sub(x) for 5th 8 bytes
3468 movq [edi+ebx+24], mm3 // Write Raw(x) for 4th 8 bytes
3470 movq mm5, [edi+ebx+40] // Load Sub(x) for 6th 8 bytes
3471 movq [edi+ebx+32], mm4 // Write Raw(x) for 5th 8 bytes
3473 movq mm6, [edi+ebx+48] // Load Sub(x) for 7th 8 bytes
3474 movq [edi+ebx+40], mm5 // Write Raw(x) for 6th 8 bytes
3476 movq mm7, [edi+ebx+56] // Load Sub(x) for 8th 8 bytes
3477 movq [edi+ebx+48], mm6 // Write Raw(x) for 7th 8 bytes
3478 add ebx, 64
3480 cmp ebx, ecx
3481 movq [edi+ebx-8], mm7 // Write Raw(x) for 8th 8 bytes
3483 cmp ebx, MMXLength
3486 movq mm0, [edi+ebx]
3487 add ebx, 8
3489 cmp ebx, MMXLength
3490 movq [edi+ebx-8], mm0 // use -8 to offset early add to ebx
3502 mov ebx, diff
3507 movq mm0, [edi+ebx]
3508 movq mm1, [esi+ebx]
3509 add ebx, 8
3511 cmp ebx, MMXLength
3512 movq [edi+ebx-8], mm0 // mov does not affect flags; -8 to offset
3513 // add ebx
3522 mov ebx, MMXLength
3524 cmp ebx, FullLength
3530 mov al, [esi+ebx]
3531 add [edi+ebx], al
3532 inc ebx
3533 cmp ebx, FullLength
3551 xor ebx, ebx
3560 mov al, [edi+ebx]
3561 add al, [esi+ebx]
3562 inc ebx
3563 cmp ebx, ecx
3564 mov [edi + ebx-1], al // mov does not affect flags; -1 to offset inc ebx
3569 sub edx, ebx // subtract alignment fix
3575 movq mm1, [esi+ebx]
3576 movq mm0, [edi+ebx]
3577 movq mm3, [esi+ebx+8]
3579 movq mm2, [edi+ebx+8]
3580 movq [edi+ebx], mm0
3582 movq mm5, [esi+ebx+16]
3583 movq [edi+ebx+8], mm2
3584 movq mm4, [edi+ebx+16]
3585 movq mm7, [esi+ebx+24]
3587 movq mm6, [edi+ebx+24]
3588 movq [edi+ebx+16], mm4
3590 movq mm1, [esi+ebx+32]
3591 movq [edi+ebx+24], mm6
3592 movq mm0, [edi+ebx+32]
3593 movq mm3, [esi+ebx+40]
3595 movq mm2, [edi+ebx+40]
3596 movq [edi+ebx+32], mm0
3598 movq mm5, [esi+ebx+48]
3599 movq [edi+ebx+40], mm2
3600 movq mm4, [edi+ebx+48]
3601 movq mm7, [esi+ebx+56]
3603 movq mm6, [edi+ebx+56]
3604 movq [edi+ebx+48], mm4
3605 add ebx, 64
3607 cmp ebx, ecx
3608 movq [edi+ebx-8], mm6 // (+56)movq does not affect flags;
3609 // -8 to offset add ebx
3628 movq mm1, [esi+ebx]
3629 movq mm0, [edi+ebx]
3630 add ebx, 8
3632 cmp ebx, ecx
3633 movq [edi+ebx-8], mm0 // movq does not affect flags; -8 to offset add ebx
3642 mov al, [edi + ebx]
3643 add al, [esi + ebx]
3644 inc ebx
3645 cmp ebx, ecx
3646 mov [edi + ebx-1], al // mov does not affect flags; -1 to offset inc ebx