Skip to content

Commit

Permalink
exclude neon on neonv8
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Müller <[email protected]>
  • Loading branch information
marcusmueller committed Oct 23, 2023
1 parent 34f4575 commit 49d8822
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernels/volk/volk_64u_byteswap.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ static inline void volk_64u_byteswap_a_ssse3(uint64_t* intsToSwap,
#endif /* LV_HAVE_SSSE3 */


#ifndef LV_HAVE_NEONV8
#ifdef LV_HAVE_NEON
#include <arm_neon.h>

Expand Down Expand Up @@ -283,6 +284,7 @@ static inline void volk_64u_byteswap_neon(uint64_t* intsToSwap, unsigned int num
}
}
#endif /* LV_HAVE_NEON */
#endif

#endif /* INCLUDED_volk_64u_byteswap_u_H */
#ifndef INCLUDED_volk_64u_byteswap_a_H
Expand Down
2 changes: 2 additions & 0 deletions kernels/volk/volk_64u_byteswappuppet_64u.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static inline void volk_64u_byteswappuppet_64u_generic(uint64_t* output,
}
#endif

#ifndef LV_HAVE_NEONV8
#ifdef LV_HAVE_NEON
static inline void volk_64u_byteswappuppet_64u_neon(uint64_t* output,
uint64_t* intsToSwap,
Expand All @@ -36,6 +37,7 @@ static inline void volk_64u_byteswappuppet_64u_neon(uint64_t* output,
memcpy((void*)output, (void*)intsToSwap, num_points * sizeof(uint64_t));
}
#endif
#endif

#ifdef LV_HAVE_SSE2
static inline void volk_64u_byteswappuppet_64u_u_sse2(uint64_t* output,
Expand Down

0 comments on commit 49d8822

Please sign in to comment.