Lines Matching defs:in
5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
78 * Multiply-accumulate 16-bit terms with 32-bit result: return a + in*v.
81 int32_t mulAdd(int16_t in, int16_t v, int32_t a)
85 asm( "smlabb %[out], %[in], %[v], %[a] \n"
87 : [in]"%r"(in), [v]"r"(v), [a]"r"(a)
91 return a + in * (int32_t)v;
96 * Multiply 16-bit terms with 32-bit result: return in*v.
99 int32_t mul(int16_t in, int16_t v)
103 asm( "smulbb %[out], %[in], %[v] \n"
105 : [in]"%r"(in), [v]"r"(v)
109 return in * (int32_t)v;