mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Sansa Clip: apply r21190 to asm lcd_greydata : 2% speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21199 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
112e9ea1ef
commit
1d97a380e2
1 changed files with 7 additions and 2 deletions
|
|
@ -91,11 +91,16 @@ lcd_grey_data:
|
|||
|
||||
1:
|
||||
ldr r5, [lr, #0xC] @ DBOP_STAT
|
||||
ands r5, r5, #(1<<10) @ wait until push fifo empties
|
||||
beq 1b
|
||||
ands r5, r5, #(1<<6) @ wait until push fifo is full
|
||||
bne 1b
|
||||
|
||||
subs r2, r2, #1
|
||||
bne .greyloop
|
||||
|
||||
1:
|
||||
ldr r5, [lr, #0xC] @ DBOP_STAT
|
||||
ands r5, r5, #(1<<10) @ wait until push fifo empties
|
||||
beq 1b
|
||||
|
||||
ldmfd sp!, {r4-r8, pc}
|
||||
.size lcd_grey_data,.-lcd_grey_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue