1/* Empty definitions required for __MATHCALL_VEC unfolding in mathcalls.h.
2 Copyright (C) 2014-2026 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
18
19#ifndef _MATH_H
20# error "Never include <bits/libm-simd-decl-stubs.h> directly;\
21 include <math.h> instead."
22#endif
23
24/* Needed definitions could be generated with:
25 for func in $(grep __MATHCALL_VEC math/bits/mathcalls.h |\
26 sed -r "s|__MATHCALL_VEC.?\(||; s|,.*||"); do
27 echo "#define __DECL_SIMD_${func}";
28 echo "#define __DECL_SIMD_${func}f";
29 echo "#define __DECL_SIMD_${func}l";
30 done
31 */
32
33#ifndef _BITS_LIBM_SIMD_DECL_STUBS_H
34#define _BITS_LIBM_SIMD_DECL_STUBS_H 1
35
36#define __DECL_SIMD_cos
37#define __DECL_SIMD_cosf
38#define __DECL_SIMD_cosl
39#define __DECL_SIMD_cosf16
40#define __DECL_SIMD_cosf32
41#define __DECL_SIMD_cosf64
42#define __DECL_SIMD_cosf128
43#define __DECL_SIMD_cosf32x
44#define __DECL_SIMD_cosf64x
45#define __DECL_SIMD_cosf128x
46
47#define __DECL_SIMD_sin
48#define __DECL_SIMD_sinf
49#define __DECL_SIMD_sinl
50#define __DECL_SIMD_sinf16
51#define __DECL_SIMD_sinf32
52#define __DECL_SIMD_sinf64
53#define __DECL_SIMD_sinf128
54#define __DECL_SIMD_sinf32x
55#define __DECL_SIMD_sinf64x
56#define __DECL_SIMD_sinf128x
57
58#define __DECL_SIMD_sincos
59#define __DECL_SIMD_sincosf
60#define __DECL_SIMD_sincosl
61#define __DECL_SIMD_sincosf16
62#define __DECL_SIMD_sincosf32
63#define __DECL_SIMD_sincosf64
64#define __DECL_SIMD_sincosf128
65#define __DECL_SIMD_sincosf32x
66#define __DECL_SIMD_sincosf64x
67#define __DECL_SIMD_sincosf128x
68
69#define __DECL_SIMD_log
70#define __DECL_SIMD_logf
71#define __DECL_SIMD_logl
72#define __DECL_SIMD_logf16
73#define __DECL_SIMD_logf32
74#define __DECL_SIMD_logf64
75#define __DECL_SIMD_logf128
76#define __DECL_SIMD_logf32x
77#define __DECL_SIMD_logf64x
78#define __DECL_SIMD_logf128x
79
80#define __DECL_SIMD_exp
81#define __DECL_SIMD_expf
82#define __DECL_SIMD_expl
83#define __DECL_SIMD_expf16
84#define __DECL_SIMD_expf32
85#define __DECL_SIMD_expf64
86#define __DECL_SIMD_expf128
87#define __DECL_SIMD_expf32x
88#define __DECL_SIMD_expf64x
89#define __DECL_SIMD_expf128x
90
91#define __DECL_SIMD_pow
92#define __DECL_SIMD_powf
93#define __DECL_SIMD_powl
94#define __DECL_SIMD_powf16
95#define __DECL_SIMD_powf32
96#define __DECL_SIMD_powf64
97#define __DECL_SIMD_powf128
98#define __DECL_SIMD_powf32x
99#define __DECL_SIMD_powf64x
100#define __DECL_SIMD_powf128x
101
102#define __DECL_SIMD_acos
103#define __DECL_SIMD_acosf
104#define __DECL_SIMD_acosl
105#define __DECL_SIMD_acosf16
106#define __DECL_SIMD_acosf32
107#define __DECL_SIMD_acosf64
108#define __DECL_SIMD_acosf128
109#define __DECL_SIMD_acosf32x
110#define __DECL_SIMD_acosf64x
111#define __DECL_SIMD_acosf128x
112
113#define __DECL_SIMD_atan
114#define __DECL_SIMD_atanf
115#define __DECL_SIMD_atanl
116#define __DECL_SIMD_atanf16
117#define __DECL_SIMD_atanf32
118#define __DECL_SIMD_atanf64
119#define __DECL_SIMD_atanf128
120#define __DECL_SIMD_atanf32x
121#define __DECL_SIMD_atanf64x
122#define __DECL_SIMD_atanf128x
123
124#define __DECL_SIMD_asin
125#define __DECL_SIMD_asinf
126#define __DECL_SIMD_asinl
127#define __DECL_SIMD_asinf16
128#define __DECL_SIMD_asinf32
129#define __DECL_SIMD_asinf64
130#define __DECL_SIMD_asinf128
131#define __DECL_SIMD_asinf32x
132#define __DECL_SIMD_asinf64x
133#define __DECL_SIMD_asinf128x
134
135#define __DECL_SIMD_hypot
136#define __DECL_SIMD_hypotf
137#define __DECL_SIMD_hypotl
138#define __DECL_SIMD_hypotf16
139#define __DECL_SIMD_hypotf32
140#define __DECL_SIMD_hypotf64
141#define __DECL_SIMD_hypotf128
142#define __DECL_SIMD_hypotf32x
143#define __DECL_SIMD_hypotf64x
144#define __DECL_SIMD_hypotf128x
145
146#define __DECL_SIMD_exp2
147#define __DECL_SIMD_exp2f
148#define __DECL_SIMD_exp2l
149#define __DECL_SIMD_exp2f16
150#define __DECL_SIMD_exp2f32
151#define __DECL_SIMD_exp2f64
152#define __DECL_SIMD_exp2f128
153#define __DECL_SIMD_exp2f32x
154#define __DECL_SIMD_exp2f64x
155#define __DECL_SIMD_exp2f128x
156
157#define __DECL_SIMD_exp10
158#define __DECL_SIMD_exp10f
159#define __DECL_SIMD_exp10l
160#define __DECL_SIMD_exp10f16
161#define __DECL_SIMD_exp10f32
162#define __DECL_SIMD_exp10f64
163#define __DECL_SIMD_exp10f128
164#define __DECL_SIMD_exp10f32x
165#define __DECL_SIMD_exp10f64x
166#define __DECL_SIMD_exp10f128x
167
168#define __DECL_SIMD_cosh
169#define __DECL_SIMD_coshf
170#define __DECL_SIMD_coshl
171#define __DECL_SIMD_coshf16
172#define __DECL_SIMD_coshf32
173#define __DECL_SIMD_coshf64
174#define __DECL_SIMD_coshf128
175#define __DECL_SIMD_coshf32x
176#define __DECL_SIMD_coshf64x
177#define __DECL_SIMD_coshf128x
178
179#define __DECL_SIMD_expm1
180#define __DECL_SIMD_expm1f
181#define __DECL_SIMD_expm1l
182#define __DECL_SIMD_expm1f16
183#define __DECL_SIMD_expm1f32
184#define __DECL_SIMD_expm1f64
185#define __DECL_SIMD_expm1f128
186#define __DECL_SIMD_expm1f32x
187#define __DECL_SIMD_expm1f64x
188#define __DECL_SIMD_expm1f128x
189
190#define __DECL_SIMD_exp2m1
191#define __DECL_SIMD_exp2m1f
192#define __DECL_SIMD_exp2m1l
193#define __DECL_SIMD_exp2m1f16
194#define __DECL_SIMD_exp2m1f32
195#define __DECL_SIMD_exp2m1f64
196#define __DECL_SIMD_exp2m1f128
197#define __DECL_SIMD_exp2m1f32x
198#define __DECL_SIMD_exp2m1f64x
199#define __DECL_SIMD_exp2m1f128x
200
201#define __DECL_SIMD_exp10m1
202#define __DECL_SIMD_exp10m1f
203#define __DECL_SIMD_exp10m1l
204#define __DECL_SIMD_exp10m1f16
205#define __DECL_SIMD_exp10m1f32
206#define __DECL_SIMD_exp10m1f64
207#define __DECL_SIMD_exp10m1f128
208#define __DECL_SIMD_exp10m1f32x
209#define __DECL_SIMD_exp10m1f64x
210#define __DECL_SIMD_exp10m1f128x
211
212#define __DECL_SIMD_sinh
213#define __DECL_SIMD_sinhf
214#define __DECL_SIMD_sinhl
215#define __DECL_SIMD_sinhf16
216#define __DECL_SIMD_sinhf32
217#define __DECL_SIMD_sinhf64
218#define __DECL_SIMD_sinhf128
219#define __DECL_SIMD_sinhf32x
220#define __DECL_SIMD_sinhf64x
221#define __DECL_SIMD_sinhf128x
222
223#define __DECL_SIMD_cbrt
224#define __DECL_SIMD_cbrtf
225#define __DECL_SIMD_cbrtl
226#define __DECL_SIMD_cbrtf16
227#define __DECL_SIMD_cbrtf32
228#define __DECL_SIMD_cbrtf64
229#define __DECL_SIMD_cbrtf128
230#define __DECL_SIMD_cbrtf32x
231#define __DECL_SIMD_cbrtf64x
232#define __DECL_SIMD_cbrtf128x
233
234#define __DECL_SIMD_atan2
235#define __DECL_SIMD_atan2f
236#define __DECL_SIMD_atan2l
237#define __DECL_SIMD_atan2f16
238#define __DECL_SIMD_atan2f32
239#define __DECL_SIMD_atan2f64
240#define __DECL_SIMD_atan2f128
241#define __DECL_SIMD_atan2f32x
242#define __DECL_SIMD_atan2f64x
243#define __DECL_SIMD_atan2f128x
244
245#define __DECL_SIMD_rsqrt
246#define __DECL_SIMD_rsqrtf
247#define __DECL_SIMD_rsqrtl
248#define __DECL_SIMD_rsqrtf16
249#define __DECL_SIMD_rsqrtf32
250#define __DECL_SIMD_rsqrtf64
251#define __DECL_SIMD_rsqrtf128
252#define __DECL_SIMD_rsqrtf32x
253#define __DECL_SIMD_rsqrtf64x
254#define __DECL_SIMD_rsqrtf128x
255
256#define __DECL_SIMD_log10
257#define __DECL_SIMD_log10f
258#define __DECL_SIMD_log10l
259#define __DECL_SIMD_log10f16
260#define __DECL_SIMD_log10f32
261#define __DECL_SIMD_log10f64
262#define __DECL_SIMD_log10f128
263#define __DECL_SIMD_log10f32x
264#define __DECL_SIMD_log10f64x
265#define __DECL_SIMD_log10f128x
266
267#define __DECL_SIMD_log10p1
268#define __DECL_SIMD_log10p1f
269#define __DECL_SIMD_log10p1l
270#define __DECL_SIMD_log10p1f16
271#define __DECL_SIMD_log10p1f32
272#define __DECL_SIMD_log10p1f64
273#define __DECL_SIMD_log10p1f128
274#define __DECL_SIMD_log10p1f32x
275#define __DECL_SIMD_log10p1f64x
276#define __DECL_SIMD_log10p1f128x
277
278#define __DECL_SIMD_log2
279#define __DECL_SIMD_log2f
280#define __DECL_SIMD_log2l
281#define __DECL_SIMD_log2f16
282#define __DECL_SIMD_log2f32
283#define __DECL_SIMD_log2f64
284#define __DECL_SIMD_log2f128
285#define __DECL_SIMD_log2f32x
286#define __DECL_SIMD_log2f64x
287#define __DECL_SIMD_log2f128x
288
289#define __DECL_SIMD_log2p1
290#define __DECL_SIMD_log2p1f
291#define __DECL_SIMD_log2p1l
292#define __DECL_SIMD_log2p1f16
293#define __DECL_SIMD_log2p1f32
294#define __DECL_SIMD_log2p1f64
295#define __DECL_SIMD_log2p1f128
296#define __DECL_SIMD_log2p1f32x
297#define __DECL_SIMD_log2p1f64x
298#define __DECL_SIMD_log2p1f128x
299
300#define __DECL_SIMD_log1p
301#define __DECL_SIMD_log1pf
302#define __DECL_SIMD_log1pl
303#define __DECL_SIMD_log1pf16
304#define __DECL_SIMD_log1pf32
305#define __DECL_SIMD_log1pf64
306#define __DECL_SIMD_log1pf128
307#define __DECL_SIMD_log1pf32x
308#define __DECL_SIMD_log1pf64x
309#define __DECL_SIMD_log1pf128x
310
311#define __DECL_SIMD_logp1
312#define __DECL_SIMD_logp1f
313#define __DECL_SIMD_logp1l
314#define __DECL_SIMD_logp1f16
315#define __DECL_SIMD_logp1f32
316#define __DECL_SIMD_logp1f64
317#define __DECL_SIMD_logp1f128
318#define __DECL_SIMD_logp1f32x
319#define __DECL_SIMD_logp1f64x
320#define __DECL_SIMD_logp1f128x
321
322#define __DECL_SIMD_atanh
323#define __DECL_SIMD_atanhf
324#define __DECL_SIMD_atanhl
325#define __DECL_SIMD_atanhf16
326#define __DECL_SIMD_atanhf32
327#define __DECL_SIMD_atanhf64
328#define __DECL_SIMD_atanhf128
329#define __DECL_SIMD_atanhf32x
330#define __DECL_SIMD_atanhf64x
331#define __DECL_SIMD_atanhf128x
332
333#define __DECL_SIMD_acosh
334#define __DECL_SIMD_acoshf
335#define __DECL_SIMD_acoshl
336#define __DECL_SIMD_acoshf16
337#define __DECL_SIMD_acoshf32
338#define __DECL_SIMD_acoshf64
339#define __DECL_SIMD_acoshf128
340#define __DECL_SIMD_acoshf32x
341#define __DECL_SIMD_acoshf64x
342#define __DECL_SIMD_acoshf128x
343
344#define __DECL_SIMD_erf
345#define __DECL_SIMD_erff
346#define __DECL_SIMD_erfl
347#define __DECL_SIMD_erff16
348#define __DECL_SIMD_erff32
349#define __DECL_SIMD_erff64
350#define __DECL_SIMD_erff128
351#define __DECL_SIMD_erff32x
352#define __DECL_SIMD_erff64x
353#define __DECL_SIMD_erff128x
354
355#define __DECL_SIMD_tanh
356#define __DECL_SIMD_tanhf
357#define __DECL_SIMD_tanhl
358#define __DECL_SIMD_tanhf16
359#define __DECL_SIMD_tanhf32
360#define __DECL_SIMD_tanhf64
361#define __DECL_SIMD_tanhf128
362#define __DECL_SIMD_tanhf32x
363#define __DECL_SIMD_tanhf64x
364#define __DECL_SIMD_tanhf128x
365
366#define __DECL_SIMD_asinh
367#define __DECL_SIMD_asinhf
368#define __DECL_SIMD_asinhl
369#define __DECL_SIMD_asinhf16
370#define __DECL_SIMD_asinhf32
371#define __DECL_SIMD_asinhf64
372#define __DECL_SIMD_asinhf128
373#define __DECL_SIMD_asinhf32x
374#define __DECL_SIMD_asinhf64x
375#define __DECL_SIMD_asinhf128x
376
377#define __DECL_SIMD_erfc
378#define __DECL_SIMD_erfcf
379#define __DECL_SIMD_erfcl
380#define __DECL_SIMD_erfcf16
381#define __DECL_SIMD_erfcf32
382#define __DECL_SIMD_erfcf64
383#define __DECL_SIMD_erfcf128
384#define __DECL_SIMD_erfcf32x
385#define __DECL_SIMD_erfcf64x
386#define __DECL_SIMD_erfcf128x
387
388#define __DECL_SIMD_tan
389#define __DECL_SIMD_tanf
390#define __DECL_SIMD_tanl
391#define __DECL_SIMD_tanf16
392#define __DECL_SIMD_tanf32
393#define __DECL_SIMD_tanf64
394#define __DECL_SIMD_tanf128
395#define __DECL_SIMD_tanf32x
396#define __DECL_SIMD_tanf64x
397#define __DECL_SIMD_tanf128x
398
399#define __DECL_SIMD_sinpi
400#define __DECL_SIMD_sinpif
401#define __DECL_SIMD_sinpil
402#define __DECL_SIMD_sinpif16
403#define __DECL_SIMD_sinpif32
404#define __DECL_SIMD_sinpif64
405#define __DECL_SIMD_sinpif128
406#define __DECL_SIMD_sinpif32x
407#define __DECL_SIMD_sinpif64x
408#define __DECL_SIMD_sinpif128x
409
410#define __DECL_SIMD_cospi
411#define __DECL_SIMD_cospif
412#define __DECL_SIMD_cospil
413#define __DECL_SIMD_cospif16
414#define __DECL_SIMD_cospif32
415#define __DECL_SIMD_cospif64
416#define __DECL_SIMD_cospif128
417#define __DECL_SIMD_cospif32x
418#define __DECL_SIMD_cospif64x
419#define __DECL_SIMD_cospif128x
420
421#define __DECL_SIMD_tanpi
422#define __DECL_SIMD_tanpif
423#define __DECL_SIMD_tanpil
424#define __DECL_SIMD_tanpif16
425#define __DECL_SIMD_tanpif32
426#define __DECL_SIMD_tanpif64
427#define __DECL_SIMD_tanpif128
428#define __DECL_SIMD_tanpif32x
429#define __DECL_SIMD_tanpif64x
430#define __DECL_SIMD_tanpif128x
431
432#define __DECL_SIMD_acospi
433#define __DECL_SIMD_acospif
434#define __DECL_SIMD_acospil
435#define __DECL_SIMD_acospif16
436#define __DECL_SIMD_acospif32
437#define __DECL_SIMD_acospif64
438#define __DECL_SIMD_acospif128
439#define __DECL_SIMD_acospif32x
440#define __DECL_SIMD_acospif64x
441#define __DECL_SIMD_acospif128x
442
443#define __DECL_SIMD_asinpi
444#define __DECL_SIMD_asinpif
445#define __DECL_SIMD_asinpil
446#define __DECL_SIMD_asinpif16
447#define __DECL_SIMD_asinpif32
448#define __DECL_SIMD_asinpif64
449#define __DECL_SIMD_asinpif128
450#define __DECL_SIMD_asinpif32x
451#define __DECL_SIMD_asinpif64x
452#define __DECL_SIMD_asinpif128x
453
454#define __DECL_SIMD_atanpi
455#define __DECL_SIMD_atanpif
456#define __DECL_SIMD_atanpil
457#define __DECL_SIMD_atanpif16
458#define __DECL_SIMD_atanpif32
459#define __DECL_SIMD_atanpif64
460#define __DECL_SIMD_atanpif128
461#define __DECL_SIMD_atanpif32x
462#define __DECL_SIMD_atanpif64x
463#define __DECL_SIMD_atanpif128x
464
465#define __DECL_SIMD_atan2pi
466#define __DECL_SIMD_atan2pif
467#define __DECL_SIMD_atan2pil
468#define __DECL_SIMD_atan2pif16
469#define __DECL_SIMD_atan2pif32
470#define __DECL_SIMD_atan2pif64
471#define __DECL_SIMD_atan2pif128
472#define __DECL_SIMD_atan2pif32x
473#define __DECL_SIMD_atan2pif64x
474#define __DECL_SIMD_atan2pif128x
475#endif
476