Skip to content

Commit 334ed58

Browse files
authored
Add F64 FIR Manual Loop Unrolling (#294)
* Add F64 FIR Manual Loop Unrolling Adds support for manual loop unrolling (ARM_MATH_LOOPUNROLL) based on arm_fir_f32.c implementation. Minor udpate to arm_fir_f32.c documentation. * Remove float suffix from double literals.
1 parent f9aa8a7 commit 334ed58

2 files changed

Lines changed: 367 additions & 73 deletions

File tree

Source/FilteringFunctions/arm_fir_f32.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@
9292
However, if the initialization function is used, then the instance structure cannot be placed into a const data section.
9393
To place an instance structure into a const data section, the instance structure must be manually initialized.
9494
Set the values in the state buffer to zeros before static initialization.
95-
The code below statically initializes each of the 4 different data type filter instance structures
95+
The code below statically initializes each of the 6 different data type filter instance structures
9696
<pre>
97+
arm_fir_instance_f64 S = {numTaps, pState, pCoeffs};
9798
arm_fir_instance_f32 S = {numTaps, pState, pCoeffs};
99+
arm_fir_instance_f16 S = {numTaps, pState, pCoeffs};
98100
arm_fir_instance_q31 S = {numTaps, pState, pCoeffs};
99101
arm_fir_instance_q15 S = {numTaps, pState, pCoeffs};
100102
arm_fir_instance_q7 S = {numTaps, pState, pCoeffs};
@@ -132,7 +134,6 @@
132134
- A is 8*ceil(blockSize/4) for q31
133135
- A is 0 for other datatypes (q15 and q7)
134136
135-
136137
@par Fixed-Point Behavior
137138
Care must be taken when using the fixed-point versions of the FIR filter functions.
138139
In particular, the overflow and saturation behavior of the accumulator used in each function must be considered.

0 commit comments

Comments
 (0)