Home | History | Annotate | Download | only in ia32

Lines Matching full:ebx

73 	push	ebx
121 mov ebx, [ebp]
122 mov eax, [ebx + 4*esi] ; b = br->buffer[cwords]
127 bsr ebx, eax
128 not ebx
129 and ebx, 31 ; ebx = 'i' = # of leading 0 bits in 'b' (eax)
130 add ecx, ebx ; cbits += i;
131 add edi, ebx ; uval += i;
146 ;; ebx (bl) intermediate result index into FLAC__crc16_table[]
155 movzx ebx, dl
156 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^(word>>24)]
160 movzx ebx, dh
161 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^((word>>16)&0xff))]
166 movzx ebx, dl
167 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^((word>>8)&0xff))]
171 movzx ebx, dh
172 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^(word&0xff)]
222 ;; ebx (bl) intermediate result index into FLAC__crc16_table[]
231 movzx ebx, dl
232 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^(word>>24)]
236 movzx ebx, dh
237 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^((word>>16)&0xff))]
242 movzx ebx, dl
243 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^((word>>8)&0xff))]
247 movzx ebx, dh
248 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^(word&0xff)]
277 mov ebx, [ebp]
279 mov eax, [ebx + 4*esi] ; b = br->buffer[cwords]
281 mov ebx, 0xffffffff ; ebx <- FLAC__WORD_ALL_ONES
282 shr ebx, cl ; ebx <- FLAC__WORD_ALL_ONES >> end
283 not ebx ; ebx <- ~(FLAC__WORD_ALL_ONES >> end)
285 and eax, ebx ; b = (br->buffer[cwords] & ~(FLAC__WORD_ALL_ONES >> end));
289 bsr ebx, eax
290 not ebx
291 and ebx, 31 ; ebx = 'i' = # of leading 0 bits in 'b' (eax)
292 add ecx, ebx ; cbits += i;
293 add edi, ebx ; uval += i;
324 mov ebx, [ebp + 8] ; ebx <- br->words
325 sub ebx, esi ; ebx <- br->words-cwords
326 shl ebx, 2 ; ebx <- (br->words-cwords)*FLAC__BYTES_PER_WORD
327 add ebx, [ebp + 12] ; ebx <- (br->words-cwords)*FLAC__BYTES_PER_WORD + br->bytes
328 shl ebx, 3 ; ebx <- (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8
329 sub ebx, ecx ; ebx <- (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits
330 add ebx, edi ; ebx <- (br->words-cwords)*FLAC__BITS_PER_WORD + br->bytes*8 - cbits + uval
334 mov [esp], ebx ; ucbits <- ebx
353 mov ebx, [esp + 36] ; ebx <- parameter
354 test ebx, ebx ; if(parameter) {
357 cmp [esp], ebx ; while(ucbits < parameter) {
387 ;; ebx parameter
401 cmp ebx, eax ; if(parameter < n) {
406 xchg ebx, ecx
408 add ebx, ecx ; cbits += parameter;
409 xchg ebx, ecx ; ebx <- parameter, ecx <- cbits
417 ; @@@@@@OPT: or put parameter in ch instead and free up ebx completely again
432 push ebx ; [need more registers]
443 ;; ebx (bl) intermediate result index into FLAC__crc16_table[]
452 movzx ebx, dl
453 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^(word>>24)]
457 movzx ebx, dh
458 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^((word>>16)&0xff))]
463 movzx ebx, dl
464 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^((word>>8)&0xff))]
468 movzx ebx, dh
469 mov ecx, [ebx*4 + edi] ; cx <- FLAC__crc16_table[(crc>>8)^(word&0xff)]
475 pop ebx
478 mov ecx, ebx
500 mov ecx, ebx ; cbits = parameter;
527 add ecx, ebx ; cbits += parameter
528 xchg ebx, ecx ; ebx <- cbits, ecx <- parameter
530 xchg ebx, ecx ; ebx <- parameter, ecx <- cbits
534 sub [esp], ebx ; ucbits -= parameter;
539 mov ebx, [esp + 28] ; ebx <- vals
545 mov [ebx], edx ; *vals <- edx
560 pop ebx