From 2876f17f6533e905e40c0366c9ea0071c319d772 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 12 Mar 2021 16:26:02 +0100 Subject: [PATCH] Fix `vld1q_u8_x4` compilation error with GCC 10.2 --- src/crypto/cn/sse2neon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/cn/sse2neon.h b/src/crypto/cn/sse2neon.h index 039697a69..2ca95f9a3 100644 --- a/src/crypto/cn/sse2neon.h +++ b/src/crypto/cn/sse2neon.h @@ -343,7 +343,7 @@ typedef union ALIGN_STRUCT(16) SIMDVec { // Older gcc does not define vld1q_u8_x4 type #if defined(__GNUC__) && !defined(__clang__) && \ - ((__GNUC__ == 10 && (__GNUC_MINOR__ <= 1)) || \ + ((__GNUC__ == 10 && (__GNUC_MINOR__ <= 2)) || \ (__GNUC__ == 9 && (__GNUC_MINOR__ <= 3)) || \ (__GNUC__ == 8 && (__GNUC_MINOR__ <= 4)) || __GNUC__ <= 7) FORCE_INLINE uint8x16x4_t _sse2neon_vld1q_u8_x4(const uint8_t *p)