fix build on armv7

Authored-by: Robert Clausecker <fuz@FreeBSD.org>
This commit is contained in:
Alexander Shursha 2024-11-29 13:33:19 +03:00
parent d654c32dc8
commit 416b26d611

View file

@ -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 */