From a4957ba7bd9a18ed57a070cabe451d6f885ac535 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 18 Apr 2023 22:36:57 -0400 Subject: [PATCH] r233: fixed a typo on a NEON macro --- miniprot.h | 2 +- nasw-sse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/miniprot.h b/miniprot.h index 4caaaa3..b864a7b 100644 --- a/miniprot.h +++ b/miniprot.h @@ -3,7 +3,7 @@ #include -#define MP_VERSION "0.10-r232-dirty" +#define MP_VERSION "0.10-r233-dirty" #define MP_F_NO_SPLICE 0x1 #define MP_F_NO_ALIGN 0x2 diff --git a/nasw-sse.c b/nasw-sse.c index 71a480d..d05ccee 100644 --- a/nasw-sse.c +++ b/nasw-sse.c @@ -257,7 +257,7 @@ static inline __m128i ns_select(__m128i cond, __m128i a, __m128i b) static inline int ns_max_8(__m128i a) { -#if defined(__ARM_NEON__) +#if defined(__ARM_NEON) return vmaxvq_s16(vreinterpretq_s16_u8(a)); #elif defined(__SSE2__) a = _mm_max_epi16(a, _mm_srli_si128(a, 8));