|
|
@ -183,7 +183,6 @@ void FmOpKernel::compute(int32_t *output, const int32_t *input, |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void FmOpKernel::compute_pure(int32_t *output, int32_t phase0, int32_t freq, |
|
|
|
void FmOpKernel::compute_pure(int32_t *output, int32_t phase0, int32_t freq, |
|
|
|
int32_t gain1, int32_t gain2, bool add) { |
|
|
|
int32_t gain1, int32_t gain2, bool add) { |
|
|
@ -194,7 +193,6 @@ void FmOpKernel::compute_pure(int32_t *output, int32_t phase0, int32_t freq, |
|
|
|
neon_fm_kernel(zeros, add ? output : zeros, output, _N_, |
|
|
|
neon_fm_kernel(zeros, add ? output : zeros, output, _N_, |
|
|
|
phase0, freq, gain, dgain); |
|
|
|
phase0, freq, gain, dgain); |
|
|
|
#else |
|
|
|
#else |
|
|
|
} else { |
|
|
|
|
|
|
|
if (add) { |
|
|
|
if (add) { |
|
|
|
for (int i = 0; i < _N_; i++) { |
|
|
|
for (int i = 0; i < _N_; i++) { |
|
|
|
gain += dgain; |
|
|
|
gain += dgain; |
|
|
@ -213,7 +211,6 @@ void FmOpKernel::compute_pure(int32_t *output, int32_t phase0, int32_t freq, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#define noDOUBLE_ACCURACY |
|
|
|
#define noDOUBLE_ACCURACY |
|
|
|