title: How to optimize histogram statistics with neon intrinsics?
body: <p>I want to optimize histogram statistic code with neon intrinsics.But I didn't succeed.Here is the c code:</p>
  
  <pre><code>#define NUM (7*1024*1024)
  uint8 src_data[NUM];
  uint32 histogram_result[256] = {0};
  for (int i = 0; i &lt; NUM; i++)
  {
      histogram_result[src_data[i]]++;
  }
  </code></pre>
  
  <p>Historam statistic is more like serial processing.It's difficult to optimize with neon intrinsics.Does anyone know how to optimize?Thanks in advance.</p>