CMSIS DSP library
Dependents: performance_timer Surfboard_ gps2rtty Capstone ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Diff: cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c
- Revision:
- 2:da51fb522205
- Parent:
- 1:fdd22bb7aa52
- Child:
- 3:7a284390b0ce
--- a/cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c Wed Nov 28 12:30:09 2012 +0000 +++ b/cmsis_dsp/FilteringFunctions/arm_conv_partial_q15.c Thu May 30 17:10:11 2013 +0100 @@ -2,12 +2,12 @@ * Copyright (C) 2010 ARM Limited. All rights reserved. * * $Date: 15. February 2012 -* $Revision: V1.1.0 +* $Revision: V1.1.0 * -* Project: CMSIS DSP Library -* Title: arm_conv_partial_q15.c +* Project: CMSIS DSP Library +* Title: arm_conv_partial_q15.c * -* Description: Partial convolution of Q15 sequences. +* Description: Partial convolution of Q15 sequences. * * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 * @@ -323,7 +323,7 @@ x0 = *__SIMD32(px); /* read x[1], x[2] samples */ x1 = _SIMD32_OFFSET(px+1); - px+= 2u; + px+= 2u; /* Apply loop unrolling and compute 4 MACs simultaneously. */ @@ -369,7 +369,7 @@ /* Read x[5], x[6] */ x1 = _SIMD32_OFFSET(px+3); - px += 4u; + px += 4u; /* acc2 += x[4] * y[srcBLen - 3] + x[5] * y[srcBLen - 4] */ acc2 = __SMLALDX(x0, c0, acc2); @@ -403,7 +403,7 @@ /* Read x[7] */ x3 = *__SIMD32(px); - px++; + px++; /* Perform the multiply-accumulates */ acc0 = __SMLALD(x0, c0, acc0); @@ -422,7 +422,7 @@ /* Read x[9] */ x2 = _SIMD32_OFFSET(px+1); - px += 2u; + px += 2u; /* Perform the multiply-accumulates */ acc0 = __SMLALDX(x0, c0, acc0); @@ -448,7 +448,7 @@ acc2 = __SMLALDX(x3, c0, acc2); acc3 = __SMLALDX(x2, c0, acc3); - c0 = *(py-1); + c0 = *(py-1); #ifdef ARM_MATH_BIG_ENDIAN @@ -460,7 +460,7 @@ /* Read x[10] */ x3 = _SIMD32_OFFSET(px+2); - px += 3u; + px += 3u; /* Perform the multiply-accumulates */ acc0 = __SMLALDX(x1, c0, acc0); @@ -502,7 +502,7 @@ /* If the blockSize2 is not a multiple of 4, compute any remaining output samples here. ** No loop unrolling is used. */ blkCnt = (uint32_t) blockSize2 % 0x4u; - + while(blkCnt > 0u) { /* Accumulator is made zero for every iteration */