| /src/contrib/arm-optimized-routines/math/include/ |
| H A D | mathlib.h | 190 svfloat32_t _ZGVsMxv_acosf (svfloat32_t, svbool_t); 191 svfloat32_t _ZGVsMxv_acoshf (svfloat32_t, svbool_t); 192 svfloat32_t _ZGVsMxv_asinf (svfloat32_t, svbool_t); 193 svfloat32_t _ZGVsMxv_asinhf (svfloat32_t, svbool_t); 194 svfloat32_t _ZGVsMxv_atanf (svfloat32_t, svbool_t); 195 svfloat32_t _ZGVsMxv_atanhf (svfloat32_t, svbool_t); 196 svfloat32_t _ZGVsMxv_cbrtf (svfloat32_t, svbool_t); 197 svfloat32_t _ZGVsMxv_cosf (svfloat32_t, svbool_t); 198 svfloat32_t _ZGVsMxv_coshf (svfloat32_t, svbool_t); 199 svfloat32_t _ZGVsMxv_cospif (svfloat32_t, svbool_t); [all …]
|
| H A D | test_sig.h | 22 svfloat32_t SV_NAME_F1 (fun) (svfloat32_t, svbool_t); 24 svfloat32_t SV_NAME_F2 (fun) (svfloat32_t, svfloat32_t, svbool_t); 26 svfloat64_t SV_NAME_D1 (fun) (svfloat64_t, svbool_t); 28 svfloat64_t SV_NAME_D2 (fun) (svfloat64_t, svfloat64_t, svbool_t);
|
| /src/contrib/arm-optimized-routines/math/aarch64/sve/ |
| H A D | sv_poly_generic.h | 22 static inline VTYPE VWRAP (pairwise_poly_3) (svbool_t pg, VTYPE x, VTYPE x2, in pairwise_poly_3() 31 static inline VTYPE VWRAP (estrin_4) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in estrin_4() 37 static inline VTYPE VWRAP (estrin_5) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in estrin_5() 44 static inline VTYPE VWRAP (estrin_6) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in estrin_6() 52 static inline VTYPE VWRAP (estrin_7) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in estrin_7() 59 static inline VTYPE VWRAP (estrin_8) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in estrin_8() 64 static inline VTYPE VWRAP (estrin_9) (svbool_t pg, VTYPE x, VTYPE x2, VTYPE x4, in estrin_9() 70 static inline VTYPE VWRAP (estrin_10) (svbool_t pg, VTYPE x, VTYPE x2, in estrin_10() 77 static inline VTYPE VWRAP (estrin_11) (svbool_t pg, VTYPE x, VTYPE x2, in estrin_11() 83 static inline VTYPE VWRAP (estrin_12) (svbool_t pg, VTYPE x, VTYPE x2, in estrin_12() [all …]
|
| H A D | powf.c | 51 static inline svbool_t 52 svisint (svbool_t pg, svfloat32_t x) in svisint() 58 static inline svbool_t 59 svisnotint (svbool_t pg, svfloat32_t x) in svisnotint() 65 static inline svbool_t 66 svisodd (svbool_t pg, svfloat32_t x) in svisodd() 73 static inline svbool_t 74 sv_zeroinfnan (svbool_t pg, svuint32_t i) in sv_zeroinfnan() 144 svbool_t xspecial = sv_zeroinfnan (svptrue_b32 (), svreinterpret_u32 (x1)); in sv_call_powf_sc() 145 svbool_t yspecial = sv_zeroinfnan (svptrue_b32 (), svreinterpret_u32 (x2)); in sv_call_powf_sc() [all …]
|
| H A D | pow.c | 81 static inline svbool_t 82 sv_isint (svbool_t pg, svfloat64_t x) in sv_isint() 88 static inline svbool_t 89 sv_isnotint (svbool_t pg, svfloat64_t x) in sv_isnotint() 95 static inline svbool_t 96 sv_isodd (svbool_t pg, svfloat64_t x) in sv_isodd() 134 static inline svbool_t 135 sv_zeroinfnan (svbool_t pg, svuint64_t i) in sv_zeroinfnan() 170 svfloat64_t y, svbool_t cmp) in sv_call_specialcase() 172 svbool_t p = svpfirst (cmp, svpfalse ()); in sv_call_specialcase() [all …]
|
| H A D | sv_math.h | 57 sv_call_f64 (double (*f) (double), svfloat64_t x, svfloat64_t y, svbool_t cmp) in sv_call_f64() 59 svbool_t p = svpfirst (cmp, svpfalse ()); in sv_call_f64() 73 svfloat64_t y, svbool_t cmp) in sv_call2_f64() 75 svbool_t p = svpfirst (cmp, svpfalse ()); in sv_call2_f64() 89 sv_mod_n_u64_x (svbool_t pg, svuint64_t x, uint64_t y) in sv_mod_n_u64_x() 115 sv_call_f32 (float (*f) (float), svfloat32_t x, svfloat32_t y, svbool_t cmp) in sv_call_f32() 117 svbool_t p = svpfirst (cmp, svpfalse ()); in sv_call_f32() 131 svfloat32_t y, svbool_t cmp) in sv_call2_f32() 133 svbool_t p = svpfirst (cmp, svpfalse ()); in sv_call2_f32()
|
| H A D | atan2f.c | 28 const svbool_t cmp) in special_case() 35 static inline svbool_t 36 zeroinfnan (svuint32_t i, const svbool_t pg) in zeroinfnan() 48 const svbool_t pg) in atan2() 55 svbool_t cmp_x = zeroinfnan (ix, pg); in atan2() 56 svbool_t cmp_y = zeroinfnan (iy, pg); in atan2() 57 svbool_t cmp_xy = svorr_z (pg, cmp_x, cmp_y); in atan2() 68 svbool_t pred_aygtax = svcmpgt (pg, ay, ax); in atan2()
|
| H A D | atan2.c | 33 const svbool_t cmp) in special_case() 40 static inline svbool_t 41 zeroinfnan (svuint64_t i, const svbool_t pg) in zeroinfnan() 52 const svbool_t pg) in atan2() 59 svbool_t cmp_x = zeroinfnan (ix, pg); in atan2() 60 svbool_t cmp_y = zeroinfnan (iy, pg); in atan2() 61 svbool_t cmp_xy = svorr_z (pg, cmp_x, cmp_y); in atan2() 72 svbool_t pred_aygtax = svcmpgt (pg, ay, ax); in atan2()
|
| H A D | tanhf.c | 29 special_case (svfloat32_t x, svbool_t pg, svbool_t is_boring, in special_case() 30 svfloat32_t boring, svfloat32_t q, svbool_t special) in special_case() 41 svfloat32_t SV_NAME_F1 (tanh) (svfloat32_t x, const svbool_t pg) in tanh() 49 svbool_t special = svcmpgt (pg, iax, d->special_bound); in tanh() 50 svbool_t is_boring = svacgt (pg, x, d->boring_bound); in tanh()
|
| H A D | exp2.c | 39 special_case (svbool_t pg, svfloat64_t s, svfloat64_t y, svfloat64_t n, in special_case() 47 svbool_t p_sign = svcmple (pg, n, 0.0); /* n <= 0. */ in special_case() 57 svbool_t p_cmp = svacgt (pg, n, d->uoflow_bound); in special_case() 70 svfloat64_t SV_NAME_D1 (exp2) (svfloat64_t x, svbool_t pg) in exp2() 73 svbool_t no_big_scale = svacle (pg, x, d->big_bound); in exp2() 74 svbool_t special = svnot_z (pg, no_big_scale); in exp2()
|
| H A D | exp10.c | 45 special_case (svbool_t pg, svfloat64_t s, svfloat64_t y, svfloat64_t n, in special_case() 53 svbool_t p_sign = svcmple (pg, n, 0.0); /* n <= 0. */ in special_case() 63 svbool_t p_cmp = svacgt (pg, n, d->scale_thres); in special_case() 76 svfloat64_t SV_NAME_D1 (exp10) (svfloat64_t x, svbool_t pg) in exp10() 79 svbool_t no_big_scale = svacle (pg, x, d->special_bound); in exp10() 80 svbool_t special = svnot_z (pg, no_big_scale); in exp10()
|
| H A D | sv_sincos_common.h | 31 static inline svbool_t 32 check_ge_rangeval (svbool_t pg, svfloat64_t x, const struct sv_sincos_data *d) in check_ge_rangeval() 34 svbool_t in_bounds = svaclt (pg, x, d->range_val); in check_ge_rangeval() 44 sv_sincos_inline (svbool_t pg, svfloat64_t x, const struct sv_sincos_data *d) in sv_sincos_inline() 71 svbool_t swap = svcmpeq (pg, svlsl_x (pg, un, 63), 0); in sv_sincos_inline()
|
| H A D | hypotf.c | 16 special_case (svfloat32_t sqsum, svfloat32_t x, svfloat32_t y, svbool_t pg, in special_case() 17 svbool_t special) in special_case() 27 const svbool_t pg) in hypot() 31 svbool_t special = svcmpge ( in hypot()
|
| H A D | tan.c | 34 special_case (svfloat64_t x, svfloat64_t p, svfloat64_t q, svbool_t pg, in special_case() 35 svbool_t special) in special_case() 37 svbool_t use_recip = svcmpeq ( in special_case() 53 svfloat64_t SV_NAME_D1 (tan) (svfloat64_t x, svbool_t pg) in tan() 109 svbool_t special = svnot_z (pg, svaclt (pg, x, dat->range_val)); in tan() 115 svbool_t use_recip = svcmpeq ( in tan()
|
| H A D | hypot.c | 21 special_case (svfloat64_t sqsum, svfloat64_t x, svfloat64_t y, svbool_t pg, in special_case() 22 svbool_t special) in special_case() 32 svfloat64_t SV_NAME_D2 (hypot) (svfloat64_t x, svfloat64_t y, svbool_t pg) in hypot() 38 svbool_t special = svcmpge ( in hypot()
|
| H A D | sv_sincosf_common.h | 24 static inline svbool_t 25 check_ge_rangeval (svbool_t pg, svfloat32_t x, const struct sv_sincosf_data *d) in check_ge_rangeval() 27 svbool_t in_bounds = svaclt (pg, x, d->range_val); in check_ge_rangeval() 39 sv_sincosf_inline (svbool_t pg, svfloat32_t x, const struct sv_sincosf_data *d) in sv_sincosf_inline() 67 svbool_t swap = svcmpeq (pg, svlsl_x (pg, un, 31), 0); in sv_sincosf_inline()
|
| H A D | sincosf.c | 30 special_case (svfloat32_t x, svbool_t special, float *out_sin, float *out_cos) in special_case() 32 svbool_t p = svptrue_pat_b32 (SV_VL1); in special_case() 50 svbool_t pg) in _ZGVsMxvl4l4_sincosf() 53 svbool_t special = check_ge_rangeval (pg, x, d); in _ZGVsMxvl4l4_sincosf()
|
| H A D | sincos.c | 30 special_case (svfloat64_t x, svbool_t special, double *out_sin, in special_case() 33 svbool_t p = svptrue_pat_b64 (SV_VL1); in special_case() 49 svbool_t pg) in _ZGVsMxvl8l8_sincos() 52 svbool_t special = check_ge_rangeval (pg, x, d); in _ZGVsMxvl8l8_sincos()
|
| H A D | cosh.c | 33 special_case (svfloat64_t x, svbool_t pg, svfloat64_t t, svbool_t special) in special_case() 44 exp_inline (svfloat64_t x, const svbool_t pg, const struct data *d) in exp_inline() 79 svfloat64_t SV_NAME_D1 (cosh) (svfloat64_t x, const svbool_t pg) in cosh() 84 svbool_t special = svcmpgt (pg, svreinterpret_u64 (ax), d->special_bound); in cosh()
|
| H A D | exp.c | 40 special_case (svbool_t pg, svfloat64_t s, svfloat64_t y, svfloat64_t n) in special_case() 47 svbool_t p_sign = svcmple (pg, n, 0.0); /* n <= 0. */ in special_case() 60 svbool_t p_cmp = svacgt (pg, n, 1280.0); in special_case() 72 svfloat64_t SV_NAME_D1 (exp) (svfloat64_t x, const svbool_t pg) in exp() 76 svbool_t special = svacgt (pg, x, d->thres); in exp()
|
| /src/contrib/arm-optimized-routines/math/test/ |
| H A D | mathbench_wrappers.h | 157 _Z_sv_atan2f_wrap (svfloat32_t x, svbool_t pg) in _Z_sv_atan2f_wrap() 163 _Z_sv_atan2_wrap (svfloat64_t x, svbool_t pg) in _Z_sv_atan2_wrap() 169 _Z_sv_hypotf_wrap (svfloat32_t x, svbool_t pg) in _Z_sv_hypotf_wrap() 175 _Z_sv_hypot_wrap (svfloat64_t x, svbool_t pg) in _Z_sv_hypot_wrap() 181 xy_Z_sv_powf (svfloat32_t x, svbool_t pg) in xy_Z_sv_powf() 187 x_Z_sv_powf (svfloat32_t x, svbool_t pg) in x_Z_sv_powf() 193 y_Z_sv_powf (svfloat32_t x, svbool_t pg) in y_Z_sv_powf() 199 xy_Z_sv_pow (svfloat64_t x, svbool_t pg) in xy_Z_sv_pow() 205 x_Z_sv_pow (svfloat64_t x, svbool_t pg) in x_Z_sv_pow() 211 y_Z_sv_pow (svfloat64_t x, svbool_t pg) in y_Z_sv_pow() [all …]
|
| H A D | ulp_wrappers.h | 245 static float Z_sv_##func##f (svbool_t pg, float x) \ 250 static float Z_sv_##func##f (svbool_t pg, float x, float y) \ 255 static double Z_sv_##func (svbool_t pg, double x) \ 260 static double Z_sv_##func (svbool_t pg, double x, double y) \ 273 sv_sincospi_sin (svbool_t pg, double x) in ZSVND1_WRAP() 280 sv_sincospi_cos (svbool_t pg, double x) in sv_sincospi_cos() 287 sv_sincospif_sin (svbool_t pg, float x) in sv_sincospif_sin() 294 sv_sincospif_cos (svbool_t pg, float x) in sv_sincospif_cos() 303 sv_sincosf_sin (svbool_t pg, float x) in sv_sincosf_sin() 310 sv_sincosf_cos (svbool_t pg, float x) in sv_sincosf_cos() [all …]
|
| H A D | mathbench.c | 71 __sv_dummy (svfloat64_t x, svbool_t pg) in __sv_dummy() 77 __sv_dummyf (svfloat32_t x, svbool_t pg) in __sv_dummyf() 102 svfloat64_t (*svd) (svfloat64_t, svbool_t); 103 svfloat32_t (*svf) (svfloat32_t, svbool_t); 269 run_sv_thruput (svfloat64_t f (svfloat64_t, svbool_t)) in run_sv_thruput() argument 276 runf_sv_thruput (svfloat32_t f (svfloat32_t, svbool_t)) in runf_sv_thruput() argument 283 run_sv_latency (svfloat64_t f (svfloat64_t, svbool_t)) in run_sv_latency() argument 285 volatile svbool_t vsel = svptrue_b64 (); in run_sv_latency() 286 svbool_t sel = vsel; in run_sv_latency() 294 runf_sv_latency (svfloat32_t f (svfloat32_t, svbool_t)) in runf_sv_latency() argument [all …]
|
| /src/contrib/arm-optimized-routines/math/aarch64/experimental/sve/ |
| H A D | erfinv_25u.c | 50 special (svbool_t pg, svfloat64_t x, const struct data *d) in special() 82 notails (svbool_t pg, svfloat64_t x, const struct data *d) in notails() 100 svfloat64_t SV_NAME_D1 (erfinv) (svfloat64_t x, svbool_t pg) in erfinv() 117 svbool_t no_tail = svacle (pg, x, 0.75); in erfinv() 121 svbool_t is_tail = svnot_z (pg, no_tail); in erfinv() 122 svbool_t extreme_tail = svacgt (pg, x, 0.9375); in erfinv()
|
| H A D | powif.c | 15 _ZGVsMxvv_powi (svfloat32_t as, svint32_t ns, svbool_t p) in _ZGVsMxvv_powi() 19 svbool_t want_recip = svcmplt (p, ns, 0); in _ZGVsMxvv_powi() 32 svbool_t px = svcmpeq (p, svand_x (p, ns_abs, 1), 1); in _ZGVsMxvv_powi()
|