Skip to content

Commit 4078ab4

Browse files
committed
Fixing compilation for FreeBSD x86
1 parent 730270b commit 4078ab4

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

include/private/dsp/arch/x86/avx2/pmath/lanczos.h

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ namespace lsp
9494
{
9595
IF_ARCH_X86(
9696
lanczos_gen_t state __lsp_aligned32;
97+
float stub[8] __lsp_aligned16;
9798
);
9899

99100
ARCH_X86_ASM(
@@ -158,6 +159,7 @@ namespace lsp
158159
[S2C] "o" (sinf_const),
159160
[LGEN] "o" (kp_gen_const),
160161
[LC] "o" (lanczos_const),
162+
[stub] "o" (stub),
161163
[k] "m" (k),
162164
[p] "m" (p),
163165
[a] "m" (a),

include/private/dsp/arch/x86/avx512/pmath/lanczos.h

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ namespace lsp
112112
{
113113
IF_ARCH_X86(
114114
lanczos_gen_t state __lsp_aligned64;
115+
float stub[16] __lsp_aligned64;
115116
);
116117

117118
ARCH_X86_ASM(
@@ -189,6 +190,7 @@ namespace lsp
189190
[S2C] "o" (sinf_const),
190191
[LGEN] "o" (kp_gen_const),
191192
[LC] "o" (lanczos_const),
193+
[stub] "o" (stub),
192194
[k] "m" (k),
193195
[p] "m" (p),
194196
[a] "m" (a),

include/private/dsp/arch/x86/sse2/pmath/lanczos.h

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ namespace lsp
7979
{
8080
IF_ARCH_X86(
8181
lanczos_gen_t state __lsp_aligned16;
82+
float stub[4] __lsp_aligned16;
8283
);
8384

8485
ARCH_X86_ASM(
@@ -136,6 +137,7 @@ namespace lsp
136137
[S2C] "o" (sinf_const),
137138
[LGEN] "o" (kp_gen_const),
138139
[LC] "o" (lanczos_const),
140+
[stub] "o" (stub),
139141
[k] "m" (k),
140142
[p] "m" (p),
141143
[a] "m" (a),

0 commit comments

Comments
 (0)