Fixed AVX compilation

master
Ismael Gomez 7 years ago
parent ba7d4ca3a4
commit 821d5595c5

@ -56,7 +56,7 @@
/* /*
* AVX Macros * AVX Macros
*/ */
#ifdef LV_HAVE_AVX2 #ifdef LV_HAVE_AVX
#define _MM256_MULJ_PS(X) _mm256_permute_ps(_MM256_CONJ_PS(X), 0b10110001) #define _MM256_MULJ_PS(X) _mm256_permute_ps(_MM256_CONJ_PS(X), 0b10110001)
#define _MM256_CONJ_PS(X) (_mm256_xor_ps(X, _mm256_set_ps(-0.0f, 0.0f, -0.0f, 0.0f, -0.0f, 0.0f, -0.0f, 0.0f))) #define _MM256_CONJ_PS(X) (_mm256_xor_ps(X, _mm256_set_ps(-0.0f, 0.0f, -0.0f, 0.0f, -0.0f, 0.0f, -0.0f, 0.0f)))
@ -72,7 +72,7 @@
#define _MM256_PROD_PS(a, b) _mm256_addsub_ps(_mm256_mul_ps(a,_mm256_moveldup_ps(b)),\ #define _MM256_PROD_PS(a, b) _mm256_addsub_ps(_mm256_mul_ps(a,_mm256_moveldup_ps(b)),\
_mm256_mul_ps(_mm256_shuffle_ps(a,a,0xB1),_mm256_movehdup_ps(b))) _mm256_mul_ps(_mm256_shuffle_ps(a,a,0xB1),_mm256_movehdup_ps(b)))
#endif /* LV_HAVE_FMA */ #endif /* LV_HAVE_FMA */
#endif /* LV_HAVE_AVX2 */ #endif /* LV_HAVE_AVX */
/* /*

@ -1371,9 +1371,9 @@ char* srslte_dci_format_string(srslte_dci_format_t format) {
char* srslte_dci_format_string_short(srslte_dci_format_t format) { char* srslte_dci_format_string_short(srslte_dci_format_t format) {
switch (format) { switch (format) {
case SRSLTE_DCI_FORMAT0: case SRSLTE_DCI_FORMAT0:
return " 0"; return "0";
case SRSLTE_DCI_FORMAT1: case SRSLTE_DCI_FORMAT1:
return " 1"; return "1";
case SRSLTE_DCI_FORMAT1A: case SRSLTE_DCI_FORMAT1A:
return "1A"; return "1A";
case SRSLTE_DCI_FORMAT1B: case SRSLTE_DCI_FORMAT1B:
@ -1383,7 +1383,7 @@ char* srslte_dci_format_string_short(srslte_dci_format_t format) {
case SRSLTE_DCI_FORMAT1D: case SRSLTE_DCI_FORMAT1D:
return "1D"; return "1D";
case SRSLTE_DCI_FORMAT2: case SRSLTE_DCI_FORMAT2:
return " 2"; return "2";
case SRSLTE_DCI_FORMAT2A: case SRSLTE_DCI_FORMAT2A:
return "2A"; return "2A";
case SRSLTE_DCI_FORMAT2B: case SRSLTE_DCI_FORMAT2B:

Loading…
Cancel
Save