summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-06 18:25:29 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-06 18:25:29 +0000
commit6058e0cdb7a66acd11f1004db555b7244112cefa (patch)
tree07483c6defb157fa5d7f59bb5b069df6e6144110
parentcbc701c8958cc108034f38a8460bd842c72f5145 (diff)
downloadrockbox-6058e0cdb7a66acd11f1004db555b7244112cefa.tar.gz
rockbox-6058e0cdb7a66acd11f1004db555b7244112cefa.zip
Minor cleanups mostly for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16539 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/lib/grey_coldfire.S10
-rw-r--r--apps/plugins/lib/grey_sh.S4
2 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/lib/grey_coldfire.S b/apps/plugins/lib/grey_coldfire.S
index db9b11b94b..39df087a85 100644
--- a/apps/plugins/lib/grey_coldfire.S
+++ b/apps/plugins/lib/grey_coldfire.S
@@ -97,10 +97,11 @@ _grey_line1:
97 subq.l #4, %d2 97 subq.l #4, %d2
98 bhs.s .p4_loop 98 bhs.s .p4_loop
99 99
100 /* No need to correct the count, we're only testing bits from now on. */
101
100.p4_end: 102.p4_end:
101 addq.l #4, %d2 103 btst.l #1, %d2
102 cmp.l #2, %d2 104 beq.s .p2_t_end
103 blo.s .p2_t_end
104 105
105 move.w (%a1)+, %d1 106 move.w (%a1)+, %d1
106 move.w %d1, %d0 107 move.w %d1, %d0
@@ -110,10 +111,9 @@ _grey_line1:
110 move.b %d1, %d0 111 move.b %d1, %d0
111 move.b (%d0.l, %a2), (%a0) 112 move.b (%d0.l, %a2), (%a0)
112 addq.l #4, %a0 113 addq.l #4, %a0
113 subq.l #2, %d2
114.p2_t_end: 114.p2_t_end:
115 115
116 tst.l %d2 116 btst.l #0, %d2
117 beq.s .p1_t_end 117 beq.s .p1_t_end
118 118
119 move.b (%a1)+, %d0 119 move.b (%a1)+, %d0
diff --git a/apps/plugins/lib/grey_sh.S b/apps/plugins/lib/grey_sh.S
index c59c09eaf2..f77d5b24cd 100644
--- a/apps/plugins/lib/grey_sh.S
+++ b/apps/plugins/lib/grey_sh.S
@@ -99,8 +99,8 @@ __grey_line1:
99 add #16, r5 99 add #16, r5
100 bt .p4_loop 100 bt .p4_loop
101 101
102 sub r6, r4 102 /* No need to correct the count, we're only testing bits from now on. */
103 103
104.p4_end: 104.p4_end:
105 mov #2, r0 105 mov #2, r0
106 tst r0, r4 106 tst r0, r4