diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-10-03 10:09:57 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-10-03 10:09:57 +0000 |
commit | 67554591d9820be10535d92f07a9e76915931119 (patch) | |
tree | 2d8b3746453bc8bff0bdab6de5351effbb33b2d8 /apps/codecs/demac/libdemac/vector_math16_armv6.h | |
parent | 46bf6bd49301cdfe254253725b7a104b32da1061 (diff) | |
download | rockbox-67554591d9820be10535d92f07a9e76915931119.tar.gz rockbox-67554591d9820be10535d92f07a9e76915931119.zip |
Fix static noise on armv6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18694 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/demac/libdemac/vector_math16_armv6.h')
-rw-r--r-- | apps/codecs/demac/libdemac/vector_math16_armv6.h | 7 |
1 files 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) | |||
128 | 128 | ||
129 | "10: \n" | 129 | "10: \n" |
130 | "ldrh r4, [%[v2]], #2 \n" | 130 | "ldrh r4, [%[v2]], #2 \n" |
131 | "mov r4, r4, lsl #16 \n" | ||
132 | "1: \n" | 131 | "1: \n" |
133 | "ldmia %[v2]!, {r5-r8} \n" | 132 | "ldmia %[v2]!, {r5-r8} \n" |
134 | "ldmia %[v1], {r0-r3} \n" | 133 | "ldmia %[v1], {r0-r3} \n" |
@@ -244,10 +243,10 @@ static inline int32_t scalarproduct(int16_t* v1, int16_t* v2) | |||
244 | "smlatb %[res], r3, r8, %[res] \n" | 243 | "smlatb %[res], r3, r8, %[res] \n" |
245 | #if ORDER > 16 | 244 | #if ORDER > 16 |
246 | "mov r4, r8 \n" | 245 | "mov r4, r8 \n" |
247 | "subs %[cnt], %[cnt], #1 \n" | 246 | "subs %[cnt], %[cnt], #1 \n" |
248 | "bne 1b \n" | 247 | "bne 1b \n" |
249 | #endif | 248 | #endif |
250 | "b 99f \n" | 249 | "b 99f \n" |
251 | 250 | ||
252 | "20: \n" | 251 | "20: \n" |
253 | "1: \n" | 252 | "1: \n" |