Commit a32245a3 authored by Cedric Roux's avatar Cedric Roux

fix a bug in dot_product. The return was done before _mm_empty()

parent 4d52342e
...@@ -115,11 +115,11 @@ int32_t dot_product(int16_t *x, ...@@ -115,11 +115,11 @@ int32_t dot_product(int16_t *x,
// convert back to integer // convert back to integer
result = _mm_cvtsi64_si32(mmtmp7); result = _mm_cvtsi64_si32(mmtmp7);
return(result);
_mm_empty(); _mm_empty();
_m_empty(); _m_empty();
return(result);
#elif defined(__arm__) #elif defined(__arm__)
int16x4_t *x_128=(int16x4_t*)x; int16x4_t *x_128=(int16x4_t*)x;
int16x4_t *y_128=(int16x4_t*)y; int16x4_t *y_128=(int16x4_t*)y;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment