summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-12-16 19:45:59 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-12-16 19:45:59 +0000
commit77d9b040fc0294ade60a7fbadc6b135f342e4a43 (patch)
treeba6c7327d9adc416830b691f53455e8e83bf0a02
parentfa4977180944b63f42024dc5577a75d55f00c5ac (diff)
downloadrockbox-77d9b040fc0294ade60a7fbadc6b135f342e4a43.tar.gz
rockbox-77d9b040fc0294ade60a7fbadc6b135f342e4a43.zip
Avoid an obvious stall on everything newer then arm7tdmi. Note: this can probably be made a lot faster on newer arm targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28842 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/eq_arm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/eq_arm.S b/apps/eq_arm.S
index ca6ceec1db..b0e1771e89 100644
--- a/apps/eq_arm.S
+++ b/apps/eq_arm.S
@@ -64,9 +64,9 @@ eq_filter:
64 mov r1, r0 @ fix input history 64 mov r1, r0 @ fix input history
65 smlal r10, r11, r5, r0 @ acc += b1*x[i - 1] 65 smlal r10, r11, r5, r0 @ acc += b1*x[i - 1]
66 ldr r0, [r9] @ load input and fix history in same operation 66 ldr r0, [r9] @ load input and fix history in same operation
67 smlal r10, r11, r4, r0 @ acc += b0*x[i]
68 smlal r10, r11, r7, r2 @ acc += a1*y[i - 1] 67 smlal r10, r11, r7, r2 @ acc += a1*y[i - 1]
69 smlal r10, r11, r8, r3 @ acc += a2*y[i - 2] 68 smlal r10, r11, r8, r3 @ acc += a2*y[i - 2]
69 smlal r10, r11, r4, r0 @ acc += b0*x[i] /* avoid stall on arm9*/
70 mov r3, r2 @ fix output history 70 mov r3, r2 @ fix output history
71 mov r2, r11, asl r12 @ get upper part of result and shift left 71 mov r2, r11, asl r12 @ get upper part of result and shift left
72#ifdef HIGH_PRECISION 72#ifdef HIGH_PRECISION