void DSPF_sp_fir_gen(const float *x, const float *h, float * restrict r, int nh, int nr) { int i, j; float sum; for(i=0; i < nr; i++) { sum = 0; for(j=0; j < nh; j++) { sum += x[i+j] * h[i]; } r[j] = sum; } } where, ...