From 77d9b040fc0294ade60a7fbadc6b135f342e4a43 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Thu, 16 Dec 2010 19:45:59 +0000 Subject: [PATCH] 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 --- apps/eq_arm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: mov r1, r0 @ fix input history smlal r10, r11, r5, r0 @ acc += b1*x[i - 1] ldr r0, [r9] @ load input and fix history in same operation - smlal r10, r11, r4, r0 @ acc += b0*x[i] smlal r10, r11, r7, r2 @ acc += a1*y[i - 1] smlal r10, r11, r8, r3 @ acc += a2*y[i - 2] + smlal r10, r11, r4, r0 @ acc += b0*x[i] /* avoid stall on arm9*/ mov r3, r2 @ fix output history mov r2, r11, asl r12 @ get upper part of result and shift left #ifdef HIGH_PRECISION