fix for mmx/float mixed code on ia32
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7847 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
_mm_empty();
|
||||
_m_empty();
|
||||
|
||||
return i;
|
||||
}
|
||||
#endif
|
||||
@@ -112,6 +115,9 @@ int32_t signal_energy(int32_t *input,uint32_t length)
|
||||
// temp2<<=(2*shift_DC);
|
||||
temp -= temp2;
|
||||
|
||||
_mm_empty();
|
||||
_m_empty();
|
||||
|
||||
return((temp>0)?temp:1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user