Hey guys.
I just wondering if possible is moving this function to arm math and floating operations. Iím totally new with arm math and not sure.


Code:
// Multi ++++++++++++++++++++
inline uint32_t M32x16(uint32_t x, uint32_t y) {
  return (uint32_t)(((uint32_t)x) * ((uint32_t)y) >> 16);
}

  resultA = M32x16(outputA, (distance << 7));
  resultB = M32x16(outputB, (((SIZE >> 1) - distance) << 7));

for( int pointer = 0; pointer < 128; pointer++){
  bufferOut[pointer] = resultA += resultB;
 }