From 416b26d6118ec3f45de15fb774c03a1271ed1275 Mon Sep 17 00:00:00 2001 From: Alexander Shursha Date: Fri, 29 Nov 2024 13:33:19 +0300 Subject: [PATCH] fix build on armv7 Authored-by: Robert Clausecker --- src/pulsecore/mix_neon.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pulsecore/mix_neon.c b/src/pulsecore/mix_neon.c index eb02d8165..c2f43d716 100644 --- a/src/pulsecore/mix_neon.c +++ b/src/pulsecore/mix_neon.c @@ -176,8 +176,13 @@ static void pa_mix2_ch4_s16ne_neon(pa_mix_info streams[], int16_t *data, unsigne int32x4_t sv0, sv1; __asm__ __volatile__ ( +#ifndef __FreeBSD__ "vld1.s32 %h[sv0], [%[lin0]] \n\t" "vld1.s32 %h[sv1], [%[lin1]] \n\t" +#else + "vld1.s32 {%e[sv0],%f[sv0]}, [%[lin0]] \n\t" + "vld1.s32 {%e[sv1],%f[sv1]}, [%[lin1]] \n\t" +#endif : [sv0] "=w" (sv0), [sv1] "=w" (sv1) : [lin0] "r" (streams[0].linear), [lin1] "r" (streams[1].linear) : /* clobber list */