From: Georgi Gerganov Date: Mon, 16 Mar 2026 07:11:13 +0000 (+0200) Subject: ggml : try fix arm build (whisper/0) X-Git-Tag: v0.9.8~4 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=63a5a44b1eb6fab5303bd19c0ef1e7d4408cfd71;p=pkg%2Fggml%2Fsources%2Fggml ggml : try fix arm build (whisper/0) --- diff --git a/src/ggml-cpu/arch/arm/quants.c b/src/ggml-cpu/arch/arm/quants.c index c1856201..82b048bb 100644 --- a/src/ggml-cpu/arch/arm/quants.c +++ b/src/ggml-cpu/arch/arm/quants.c @@ -666,7 +666,7 @@ void ggml_vec_dot_nvfp4_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const vo float sumf = 0; -#if defined __ARM_NEON +#if defined(__ARM_NEON) && defined(__ARM_FEATURE_FMA) const int8x16_t values = vld1q_s8(kvalues_mxfp4); const uint8x16_t m4b = vdupq_n_u8(0x0f); float32x4_t acc = vdupq_n_f32(0.0f);