summaryrefslogtreecommitdiff
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
parent616971c71eaee14cc9e16fe105d34c202babbf7c (diff)
downloadrockbox-cc92a0db3d037b21d217fada06732624f3ee2355.tar.gz
rockbox-cc92a0db3d037b21d217fada06732624f3ee2355.zip
Really tiny tweak to the coldfire idct. * Comment fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15238 a1c6a512-1295-4272-9138-f99709370657
-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 @@
83 mac.w %a3u, %d0l, %acc1 | + W6 * f2 83 mac.w %a3u, %d0l, %acc1 | + W6 * f2
84 msac.w %a1u, %d1l, %acc1 | - W2 * f6 84 msac.w %a1u, %d1l, %acc1 | - W2 * f6
85 85
86 | ^ move.l %acc0, %acc3 %acc2 = W0 * f0 - W4 * f4 86 | ^ move.l %acc1, %acc2 %acc2 = W0 * f0 - W4 * f4
87 msac.w %a3u, %d0l, %acc2 | - W6 * f2 87 msac.w %a3u, %d0l, %acc2 | - W6 * f2
88 mac.w %a1u, %d1l, %acc2 | + W2 * f6 88 mac.w %a1u, %d1l, %acc2 | + W2 * f6
89 89
90 | ^ move.l %acc1, %acc2 %acc3 = W0 * f0 + W4 * f4 90 | ^ move.l %acc0, %acc3 %acc3 = W0 * f0 + W4 * f4
91 msac.w %a1u, %d0l, %acc3 | - W2 * f2 91 msac.w %a1u, %d0l, %acc3 | - W2 * f2
92 msac.w %a3u, %d1l, %acc3 | - W6 * f6 92 msac.w %a3u, %d1l, %acc3 | - W6 * f6
93 93
@@ -329,7 +329,7 @@ mpeg2_idct_copy_coldfire:
329 clr.l (%a0)+ 329 clr.l (%a0)+
330 330
331 movem.l %d2-%d3, (%a1) | write all 8 output bytes at once 331 movem.l %d2-%d3, (%a1) | write all 8 output bytes at once
332 lea.l (%a2,%a1), %a1 | advance output pointer 332 add.l %a2, %a1 | advance output pointer
333 subq.l #1, %d4 | loop 8 times 333 subq.l #1, %d4 | loop 8 times
334 bne.w .copy_clip_loop 334 bne.w .copy_clip_loop
335 335
@@ -460,7 +460,7 @@ mpeg2_idct_add_coldfire:
460 clr.l (%a0)+ 460 clr.l (%a0)+
461 461
462 movem.l %d5-%d6, (%a1) | write all 8 output bytes at once 462 movem.l %d5-%d6, (%a1) | write all 8 output bytes at once
463 lea.l (%a2,%a1), %a1 | advance output pointer 463 add.l %a2, %a1 | advance output pointer
464 subq.l #1, %d4 | loop 8 times 464 subq.l #1, %d4 | loop 8 times
465 bne.w .add_clip_loop 465 bne.w .add_clip_loop
466 466
@@ -563,7 +563,7 @@ mpeg2_idct_add_coldfire:
563 move.b %d0, %d6 563 move.b %d0, %d6
564 564
565 movem.l %d5-%d6, (%a1) | write all 8 output bytes at once 565 movem.l %d5-%d6, (%a1) | write all 8 output bytes at once
566 lea.l (%a2,%a1), %a1 | advance output pointer 566 add.l %a2, %a1 | advance output pointer
567 subq.l #1, %d4 | loop 8 times 567 subq.l #1, %d4 | loop 8 times
568 bne.w .dc_clip_loop 568 bne.w .dc_clip_loop
569 569