1
0
Fork 0
forked from len0rd/rockbox

Minor optimisation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8952 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-03-08 01:15:09 +00:00
parent 19b45a4374
commit 10e7e22452

View file

@ -378,7 +378,7 @@ void gray_ub_scroll_up(int count)
"subq.l #1,%%d2 \n" /* planes-- */ "subq.l #1,%%d2 \n" /* planes-- */
"bne.b .su_oloop \n" "bne.b .su_oloop \n"
"lea.l (1,%[addr]),%[addr] \n" /* start_address++ */ "addq.l #1,%[addr] \n" /* start_address++ */
"subq.l #1,%%d4 \n" /* columns-- */ "subq.l #1,%%d4 \n" /* columns-- */
"bne.b .su_cloop \n" "bne.b .su_cloop \n"
: /* outputs */ : /* outputs */
@ -559,7 +559,7 @@ void gray_ub_scroll_down(int count)
"subq.l #1,%%d2 \n" /* planes-- */ "subq.l #1,%%d2 \n" /* planes-- */
"bne.b .sd_oloop \n" "bne.b .sd_oloop \n"
"lea.l (1,%[addr]),%[addr] \n" /* start_address++ */ "addq.l #1,%[addr] \n" /* start_address++ */
"subq.l #1,%%d4 \n" /* columns-- */ "subq.l #1,%%d4 \n" /* columns-- */
"bne.b .sd_cloop \n" "bne.b .sd_cloop \n"
: /* outputs */ : /* outputs */