Skip to content

Commit

Permalink
fix SIMD compile issue on NEON
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepuschmann committed Apr 4, 2018
1 parent 319f473 commit e7a268d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/include/srslte/phy/utils/simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,11 @@ static inline void srslte_simd_cf_storeu(float *re, float *im, simd_cf_t simdreg
}

static inline simd_f_t srslte_simd_cf_re(simd_cf_t in) {
#ifdef HAVE_NEON
simd_f_t out = in.val[0];
#else
simd_f_t out = in.re;
#endif /*HAVE_NEON*/
#ifndef LV_HAVE_AVX512
#ifdef LV_HAVE_AVX2
/* Permute for AVX registers (mis SSE registers) */
Expand Down

0 comments on commit e7a268d

Please sign in to comment.