Home | History | Annotate | Download | only in libspeexdsp

Lines Matching refs:len

67 /* Only works when len % 4 == 0 */
68 static inline int32_t inner_product_single(const int16_t *a, const int16_t *b, unsigned int len)
71 uint32_t remainder = len % 16;
72 len = len - remainder;
74 asm volatile (" cmp %[len], #0\n"
85 " subs %[len], %[len], #16\n"
94 " subs %[len], %[len], #16\n"
116 [len] "+r" (len), [remainder] "+r" (remainder)
141 /* Only works when len % 4 == 0 */
142 static inline float inner_product_single(const float *a, const float *b, unsigned int len)
145 uint32_t remainder = len % 16;
146 len = len - remainder;
148 asm volatile (" cmp %[len], #0\n"
161 " subs %[len], %[len], #16\n"
172 " subs %[len], %[len], #16\n"
195 [len] "+l" (len), [remainder] "+l" (remainder)