ggml : try to use correct ifdef

This commit is contained in:
Georgi Gerganov 2023-04-13 18:31:15 +03:00
parent 63f7ecf47c
commit 99e7c9b9e6
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

5
ggml.c
View file

@ -493,10 +493,7 @@ static inline __m128i packNibbles( __m128i bytes1, __m128i bytes2 )
#if __ARM_NEON #if __ARM_NEON
// TODO: this check is wrong #if !defined(__aarch64__)
// we have to check somehow if vaddvq_u8, vzp1q_u8, etc are available, but I don't know how
// at least, this works on my 32-bit RPi4
#if !defined(__ARM_FEATURE_QRDMX)
inline static uint16_t vaddvq_u8(uint8x16_t v) { inline static uint16_t vaddvq_u8(uint8x16_t v) {
return return