Commit e87c3758 authored by laurent's avatar laurent

fix compile issue

parent 01dc85f7
...@@ -449,7 +449,7 @@ static int trx_usrp_write(openair0_device *device, ...@@ -449,7 +449,7 @@ static int trx_usrp_write(openair0_device *device,
} }
else else
{ {
__m256i tmp=_mm256_loadu_si256(((__m256i *)buff[i])[j]); __m256i tmp=_mm256_loadu_si256(((__m256i *)buff[i])+j);
buff_tx[i][j] = _mm256_slli_epi16(tmp,4); buff_tx[i][j] = _mm256_slli_epi16(tmp,4);
} }
#else #else
...@@ -596,7 +596,7 @@ void *trx_usrp_write_thread(void * arg){ ...@@ -596,7 +596,7 @@ void *trx_usrp_write_thread(void * arg){
} }
else else
{ {
__m256i tmp=_mm256_loadu_si256(((__m256i *)buff[i])[j]); __m256i tmp=_mm256_loadu_si256(((__m256i *)buff[i])+j);
buff_tx[i][j] = _mm256_slli_epi16(tmp,4); buff_tx[i][j] = _mm256_slli_epi16(tmp,4);
} }
#else #else
...@@ -754,7 +754,7 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp ...@@ -754,7 +754,7 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp *ptimestamp
((__m256i *)buff[i])[j] = _mm256_srai_epi16(buff_tmp[i][j],rxshift); ((__m256i *)buff[i])[j] = _mm256_srai_epi16(buff_tmp[i][j],rxshift);
} else { } else {
__m256i tmp=_mm256_srai_epi16(buff_tmp[i][j],rxshift); __m256i tmp=_mm256_srai_epi16(buff_tmp[i][j],rxshift);
_mm256_storeu_si256(((__m256i *)buff[i])[j], tmp); _mm256_storeu_si256(((__m256i *)buff[i])+j, tmp);
} }
} }
#else #else
......
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