forked from len0rd/rockbox
Minor cleanups mostly for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16539 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cbc701c895
commit
6058e0cdb7
2 changed files with 7 additions and 7 deletions
|
|
@ -97,10 +97,11 @@ _grey_line1:
|
||||||
subq.l #4, %d2
|
subq.l #4, %d2
|
||||||
bhs.s .p4_loop
|
bhs.s .p4_loop
|
||||||
|
|
||||||
|
/* No need to correct the count, we're only testing bits from now on. */
|
||||||
|
|
||||||
.p4_end:
|
.p4_end:
|
||||||
addq.l #4, %d2
|
btst.l #1, %d2
|
||||||
cmp.l #2, %d2
|
beq.s .p2_t_end
|
||||||
blo.s .p2_t_end
|
|
||||||
|
|
||||||
move.w (%a1)+, %d1
|
move.w (%a1)+, %d1
|
||||||
move.w %d1, %d0
|
move.w %d1, %d0
|
||||||
|
|
@ -110,10 +111,9 @@ _grey_line1:
|
||||||
move.b %d1, %d0
|
move.b %d1, %d0
|
||||||
move.b (%d0.l, %a2), (%a0)
|
move.b (%d0.l, %a2), (%a0)
|
||||||
addq.l #4, %a0
|
addq.l #4, %a0
|
||||||
subq.l #2, %d2
|
|
||||||
.p2_t_end:
|
.p2_t_end:
|
||||||
|
|
||||||
tst.l %d2
|
btst.l #0, %d2
|
||||||
beq.s .p1_t_end
|
beq.s .p1_t_end
|
||||||
|
|
||||||
move.b (%a1)+, %d0
|
move.b (%a1)+, %d0
|
||||||
|
|
|
||||||
|
|
@ -99,8 +99,8 @@ __grey_line1:
|
||||||
add #16, r5
|
add #16, r5
|
||||||
bt .p4_loop
|
bt .p4_loop
|
||||||
|
|
||||||
sub r6, r4
|
/* No need to correct the count, we're only testing bits from now on. */
|
||||||
|
|
||||||
.p4_end:
|
.p4_end:
|
||||||
mov #2, r0
|
mov #2, r0
|
||||||
tst r0, r4
|
tst r0, r4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue