1 /* Empty definitions required for __MATHCALL_VEC unfolding in mathcalls.h.
2 Copyright (C) 2014-2017 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
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 <http://www.gnu.org/licenses/>. */
20 # error "Never include <bits/libm-simd-decl-stubs.h> directly;\
21 include <math.h> instead."
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";
33 #ifndef _BITS_LIBM_SIMD_DECL_STUBS_H
34 #define _BITS_LIBM_SIMD_DECL_STUBS_H 1
36 #define __DECL_SIMD_cos
37 #define __DECL_SIMD_cosf
38 #define __DECL_SIMD_cosl
39 #define __DECL_SIMD_cosf128
41 #define __DECL_SIMD_sin
42 #define __DECL_SIMD_sinf
43 #define __DECL_SIMD_sinl
44 #define __DECL_SIMD_sinf128
46 #define __DECL_SIMD_sincos
47 #define __DECL_SIMD_sincosf
48 #define __DECL_SIMD_sincosl
49 #define __DECL_SIMD_sincosf128
51 #define __DECL_SIMD_log
52 #define __DECL_SIMD_logf
53 #define __DECL_SIMD_logl
54 #define __DECL_SIMD_logf128
56 #define __DECL_SIMD_exp
57 #define __DECL_SIMD_expf
58 #define __DECL_SIMD_expl
59 #define __DECL_SIMD_expf128
61 #define __DECL_SIMD_pow
62 #define __DECL_SIMD_powf
63 #define __DECL_SIMD_powl
64 #define __DECL_SIMD_powf128