summaryrefslogtreecommitdiff
path: root/apps/codecs/demac/libdemac/vector_math16_armv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/demac/libdemac/vector_math16_armv6.h')
-rw-r--r--apps/codecs/demac/libdemac/vector_math16_armv6.h7
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"