summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-21 07:42:32 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-21 07:42:32 +0000
commitcc92a0db3d037b21d217fada06732624f3ee2355 (patch)
treeadf22d18f838fc45501e84c1dddd968a1cc8f7e0 /apps/plugins
parent616971c71eaee14cc9e16fe105d34c202babbf7c (diff)
Really tiny tweak to the coldfire idct. * Comment fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15238 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/mpegplayer/idct_coldfire.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/mpegplayer/idct_coldfire.S b/apps/plugins/mpegplayer/idct_coldfire.S
index 8db8401a07..9459c284d9 100644
--- a/apps/plugins/mpegplayer/idct_coldfire.S
+++ b/apps/plugins/mpegplayer/idct_coldfire.S
@@ -83,11 +83,11 @@
mac.w %a3u, %d0l, %acc1 | + W6 * f2
msac.w %a1u, %d1l, %acc1 | - W2 * f6
- | ^ move.l %acc0, %acc3 %acc2 = W0 * f0 - W4 * f4
+ | ^ move.l %acc1, %acc2 %acc2 = W0 * f0 - W4 * f4
msac.w %a3u, %d0l, %acc2 | - W6 * f2
mac.w %a1u, %d1l, %acc2 | + W2 * f6
- | ^ move.l %acc1, %acc2 %acc3 = W0 * f0 + W4 * f4
+ | ^ move.l %acc0, %acc3 %acc3 = W0 * f0 + W4 * f4
msac.w %a1u, %d0l, %acc3 | - W2 * f2
msac.w %a3u, %d1l, %acc3 | - W6 * f6
@@ -329,7 +329,7 @@ mpeg2_idct_copy_coldfire:
clr.l (%a0)+
movem.l %d2-%d3, (%a1) | write all 8 output bytes at once
- lea.l (%a2,%a1), %a1 | advance output pointer
+ add.l %a2, %a1 | advance output pointer
subq.l #1, %d4 | loop 8 times
bne.w .copy_clip_loop
@@ -460,7 +460,7 @@ mpeg2_idct_add_coldfire:
clr.l (%a0)+
movem.l %d5-%d6, (%a1) | write all 8 output bytes at once
- lea.l (%a2,%a1), %a1 | advance output pointer
+ add.l %a2, %a1 | advance output pointer
subq.l #1, %d4 | loop 8 times
bne.w .add_clip_loop
@@ -563,7 +563,7 @@ mpeg2_idct_add_coldfire:
move.b %d0, %d6
movem.l %d5-%d6, (%a1) | write all 8 output bytes at once
- lea.l (%a2,%a1), %a1 | advance output pointer
+ add.l %a2, %a1 | advance output pointer
subq.l #1, %d4 | loop 8 times
bne.w .dc_clip_loop