mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
fix build on armv7
Authored-by: Robert Clausecker <fuz@FreeBSD.org>
This commit is contained in:
parent
d654c32dc8
commit
416b26d611
1 changed files with 5 additions and 0 deletions
|
|
@ -176,8 +176,13 @@ static void pa_mix2_ch4_s16ne_neon(pa_mix_info streams[], int16_t *data, unsigne
|
||||||
int32x4_t sv0, sv1;
|
int32x4_t sv0, sv1;
|
||||||
|
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
|
#ifndef __FreeBSD__
|
||||||
"vld1.s32 %h[sv0], [%[lin0]] \n\t"
|
"vld1.s32 %h[sv0], [%[lin0]] \n\t"
|
||||||
"vld1.s32 %h[sv1], [%[lin1]] \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)
|
: [sv0] "=w" (sv0), [sv1] "=w" (sv1)
|
||||||
: [lin0] "r" (streams[0].linear), [lin1] "r" (streams[1].linear)
|
: [lin0] "r" (streams[0].linear), [lin1] "r" (streams[1].linear)
|
||||||
: /* clobber list */
|
: /* clobber list */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue