Commit 8fa1c6cf authored by roux's avatar roux

fix for mmx/float mixed code on ia32



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7847 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 8f8c6e94
...@@ -67,6 +67,9 @@ int32_t subcarrier_energy(int32_t *input,uint32_t length, int32_t *subcarrier_en ...@@ -67,6 +67,9 @@ int32_t subcarrier_energy(int32_t *input,uint32_t length, int32_t *subcarrier_en
subcarrier_energy[i] = subcarrier_pwr*rx_power_correction; subcarrier_energy[i] = subcarrier_pwr*rx_power_correction;
} }
_mm_empty();
_m_empty();
return i; return i;
} }
#endif #endif
...@@ -112,6 +115,9 @@ int32_t signal_energy(int32_t *input,uint32_t length) ...@@ -112,6 +115,9 @@ int32_t signal_energy(int32_t *input,uint32_t length)
// temp2<<=(2*shift_DC); // temp2<<=(2*shift_DC);
temp -= temp2; temp -= temp2;
_mm_empty();
_m_empty();
return((temp>0)?temp:1); return((temp>0)?temp:1);
} }
......
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