Browse Source

Add TODO for analyze peak optimization

dds
PaulStoffregen 8 years ago
parent
commit
0af537f2ca
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      analyze_peak.cpp

+ 2
- 0
analyze_peak.cpp View File

max = max_sample; max = max_sample;
do { do {
int16_t d=*p++; int16_t d=*p++;
// TODO: can we speed this up with SSUB16 and SEL
// http://www.m4-unleashed.com/parallel-comparison/
if (d<min) min=d; if (d<min) min=d;
if (d>max) max=d; if (d>max) max=d;
} while (p < end); } while (p < end);

Loading…
Cancel
Save