Lines Matching +full:- +full:a
1 /* ----------------------------------------------------------------------
4 * Description: Sum of the squares of the elements of a Q7 vector
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
18 * You may obtain a copy of the License at
20 * www.apache.org/licenses/LICENSE-2.0
41 @brief Sum of the squares of the elements of a Q7 vector.
47 The function is implemented using a 32-bit internal accumulator.
49 Intermediate multiplication yields a 2.14 format, and this
66 /* Compute 16 outputs at a time */ in arm_power_q7()
76 blkCnt--; in arm_power_q7()
86 /* C = A[0] * A[0] + A[1] * A[1] + ... + A[blockSize-1] * A[blockSize-1] */ in arm_power_q7()
88 /* Compute Power and store result in a temporary variable, sum. */ in arm_power_q7()
93 blkCnt--; in arm_power_q7()
115 /* Loop unrolling: Compute 4 outputs at a time */ in arm_power_q7()
120 /* C = A[0] * A[0] + A[1] * A[1] + ... + A[blockSize-1] * A[blockSize-1] */ in arm_power_q7()
122 /* Compute Power and store result in a temporary variable, sum. */ in arm_power_q7()
147 blkCnt--; in arm_power_q7()
162 /* C = A[0] * A[0] + A[1] * A[1] + ... + A[blockSize-1] * A[blockSize-1] */ in arm_power_q7()
164 /* Compute Power and store result in a temporary variable, sum. */ in arm_power_q7()
169 blkCnt--; in arm_power_q7()