From 67554591d9820be10535d92f07a9e76915931119 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 3 Oct 2008 10:09:57 +0000 Subject: Fix static noise on armv6. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18694 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/vector_math16_armv6.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/codecs/demac/libdemac/vector_math16_armv6.h b/apps/codecs/demac/libdemac/vector_math16_armv6.h index 592e9dc7e6..e963e10ff0 100644 --- a/apps/codecs/demac/libdemac/vector_math16_armv6.h +++ b/apps/codecs/demac/libdemac/vector_math16_armv6.h @@ -128,7 +128,6 @@ static inline void vector_sub(int16_t* v1, int16_t* v2) "10: \n" "ldrh r4, [%[v2]], #2 \n" - "mov r4, r4, lsl #16 \n" "1: \n" "ldmia %[v2]!, {r5-r8} \n" "ldmia %[v1], {r0-r3} \n" @@ -244,10 +243,10 @@ static inline int32_t scalarproduct(int16_t* v1, int16_t* v2) "smlatb %[res], r3, r8, %[res] \n" #if ORDER > 16 "mov r4, r8 \n" - "subs %[cnt], %[cnt], #1 \n" - "bne 1b \n" + "subs %[cnt], %[cnt], #1 \n" + "bne 1b \n" #endif - "b 99f \n" + "b 99f \n" "20: \n" "1: \n" -- cgit v1.2.3