Home | History | Annotate | Download | only in api

Lines Matching full:bitcount

75         GBLS    BitCount    ;// Register name for BitCount
85 ;// BitCount - is offset (from the top bit) to the next unused bitstream bit
86 ;// 0<=BitCount<=15 (so BitBuffer holds at least 17 unused bits)
102 ;// $RBitCount - register to use for BitCount (can be $pBitOffset)
110 ;// $BitCount /
117 BitCount SETS "$RBitCount"
121 LDR $BitCount, [$pBitOffset]
129 ADD $BitCount, $BitCount, #8
147 ;// $BitCount /
155 ;// $BitCount /
160 MOV $Symbol, $BitBuffer, LSL $BitCount
172 ;// $BitCount /
180 ;// $BitCount /
185 MOV $Symbol, $BitBuffer, LSL $BitCount
196 ;// $BitCount /
203 ;// $BitCount /
208 SUBS $BitCount, $BitCount, #(8-$N)
210 ADDCC $BitCount, $BitCount, #8
223 ;// $BitCount /
231 ;// $BitCount /
236 MOVS $Symbol, $BitBuffer, LSL $BitCount
237 SUBS $BitCount, $BitCount, #(8-$N)
239 ADDCC $BitCount, $BitCount, #8
252 ;// $BitCount /
261 ;// $BitCount /
272 MOVS $Symbol, $BitBuffer, LSL $BitCount
274 SUBS $BitCount, $BitCount, #(16-$N)
277 ADDCC $BitCount, $BitCount, #8
290 ;// $BitCount /
298 ;// $BitCount /
302 ADD $BitCount, $BitCount, $N
303 SUBS $BitCount, $BitCount, #8
305 ADDCC $BitCount, $BitCount, #8
317 ;// $BitCount /
325 ;// $BitCount /
329 ADD $BitCount, $BitCount, $N
330 SUBS $BitCount, $BitCount, #8
333 SUBCSS $BitCount, $BitCount, #8
335 ADDCC $BitCount, $BitCount, #8
347 ;// $BitCount /
356 ;// $BitCount /
360 MOV $Symbol, $BitBuffer, LSL $BitCount
361 ADD $BitCount, $BitCount, $N
362 SUBS $BitCount, $BitCount, #8
365 ADDCC $BitCount, $BitCount, #8
379 ;// $BitCount /
388 ;// $BitCount /
392 MOV $Symbol, $BitBuffer, LSL $BitCount
393 ADD $BitCount, $BitCount, $N
394 SUBS $BitCount, $BitCount, #8
398 SUBCSS $BitCount, $BitCount, #8
400 ADDCC $BitCount, $BitCount, #8
414 ;// $BitCount /
424 ;// $BitCount /
428 MOVS $Symbol, $BitBuffer, LSL $BitCount
430 ADD $BitCount, $BitCount, $Symbol
431 SUBS $BitCount, $BitCount, #7 ;// length is Symbol+1
434 SUBCSS $BitCount, $BitCount, #8
436 ADDCC $BitCount, $BitCount, #8
448 ;// $BitCount /
458 ;// $BitCount /
462 MOV $Symbol, $BitBuffer, LSL $BitCount
465 ADD $BitCount, $BitCount, $Symbol
466 SUBS $BitCount, $BitCount, #7 ;// length is Symbol+1
469 SUBCSS $BitCount, $BitCount, #8
471 ADDCC $BitCount, $BitCount, #8
494 ;// $BitCount /
503 ;// $BitCount /
510 ;// Note 0<=BitCount<=15 on entry and exit
512 MOVS $T1, $BitBuffer, LSL $BitCount ;// left align next bits
515 SUBS $BitCount, $BitCount, #8 ;// CS if buffer can be filled
519 ADDCC $BitCount, $BitCount, #8 ;// refill not possible
520 ADD $BitCount, $BitCount, #$S0 ;// assume $S0 bits used
525 MOVS $T1, $BitBuffer, LSL $BitCount ;// left align next bit
527 ;// Can combine refill check and -S0+S1 and keep $BitCount<=15
528 SUBS $BitCount, $BitCount, #8+($S0-$S1)
531 SUBS $BitCount, $BitCount, #8
532 SUB $BitCount, $BitCount, #($S0-$S1)
538 ;// BitCount range now depend on the route here
539 ;// if (first step) S0 <= BitCount <= 7+S0 <=15
540 ;// else if (2*S0-S1<=8) S0 <= BitCount <= 7+(2*S0-S1) <=15
541 ;// else S1 <= BitCount <= 7+S1 <=15
543 SUB $BitCount, $BitCount, $Symbol, LSR#13
558 ;// $BitCount /
565 ;// $BitIndex - Destination BitCount after the addition of Offset number of bits
571 ADD $Offset, $Offset, $BitCount
585 ;// $BitCount /
589 ;// $BitIndex - Destination BitCount after the move
595 ;// $BitCount /
601 MOV $BitCount, $BitIndex
613 ;// $BitIndex - Destination BitCount
616 ;// $BitCount /
629 ADD $T1, $pBitStream, $BitCount, LSR #3
631 AND $T1, $BitCount, #7
644 ;// $BitCount /
652 ;// $BitCount /
658 ADD $pBitStream, $pBitStream, $BitCount, LSR#3
659 AND $BitCount, $BitCount, #7
665 STR $BitCount, [$pBitOffset]