xref: /freebsd/contrib/arm-optimized-routines/math/test/ulp_funcs.h (revision 397e83df75e0fcd0d3fcb95ae4d794cb7600fc89)
1 /*
2  * Function entries for ulp.
3  *
4  * Copyright (c) 2022-2023, Arm Limited.
5  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6  */
7 /* clang-format off */
8  F1 (sin)
9  F1 (cos)
10  F (sincosf_sinf, sincosf_sinf, sincos_sin, sincos_mpfr_sin, 1, 1, f1, 0)
11  F (sincosf_cosf, sincosf_cosf, sincos_cos, sincos_mpfr_cos, 1, 1, f1, 0)
12  F1 (exp)
13  F1 (exp2)
14  F1 (log)
15  F1 (log2)
16  F2 (pow)
17  F1 (erf)
18  D1 (exp)
19  D1 (exp10)
20  D1 (exp2)
21  D1 (log)
22  D1 (log2)
23  D2 (pow)
24  D1 (erf)
25 #ifdef __vpcs
26  F (_ZGVnN4v_sinf, Z_sinf, sin, mpfr_sin, 1, 1, f1, 1)
27  F (_ZGVnN4v_cosf, Z_cosf, cos, mpfr_cos, 1, 1, f1, 1)
28  F (_ZGVnN4v_expf_1u, Z_expf_1u, exp, mpfr_exp, 1, 1, f1, 1)
29  F (_ZGVnN4v_expf, Z_expf, exp, mpfr_exp, 1, 1, f1, 1)
30  F (_ZGVnN4v_exp2f_1u, Z_exp2f_1u, exp2, mpfr_exp2, 1, 1, f1, 1)
31  F (_ZGVnN4v_exp2f, Z_exp2f, exp2, mpfr_exp2, 1, 1, f1, 1)
32  F (_ZGVnN4v_logf, Z_logf, log, mpfr_log, 1, 1, f1, 1)
33  F (_ZGVnN4vv_powf, Z_powf, pow, mpfr_pow, 2, 1, f2, 1)
34  F (_ZGVnN2v_sin, Z_sin, sinl, mpfr_sin, 1, 0, d1, 1)
35  F (_ZGVnN2v_cos, Z_cos, cosl, mpfr_cos, 1, 0, d1, 1)
36  F (_ZGVnN2v_exp, Z_exp, expl, mpfr_exp, 1, 0, d1, 1)
37  F (_ZGVnN2v_log, Z_log, logl, mpfr_log, 1, 0, d1, 1)
38  F (_ZGVnN2vv_pow, Z_pow, powl, mpfr_pow, 2, 0, d2, 1)
39 #endif
40 /* clang-format on */
41