/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
H A D | tanpif.c | 37 svfloat32_t r = svsel (flip, svsub_x (pg, sv_f32 (0.5f), ar), ar); in SV_NAME_F1() 43 svfloat32_t p01 = svmla_lane (sv_f32 (d->c0), r2, odd_coeffs, 0); in SV_NAME_F1() 44 svfloat32_t p23 = svmla_lane (sv_f32 (d->c2), r2, odd_coeffs, 1); in SV_NAME_F1() 45 svfloat32_t p45 = svmla_lane (sv_f32 (d->c4), r2, odd_coeffs, 2); in SV_NAME_F1() 46 svfloat32_t p67 = svmla_lane (sv_f32 (d->c6), r2, odd_coeffs, 3); in SV_NAME_F1() 52 svfloat32_t poly_recip = svdiv_x (pg, sv_f32 (1.0), poly); in SV_NAME_F1()
|
H A D | sv_sincospif_common.h | 64 svfloat32_t sp01 = svmla_lane (sv_f32 (d->c0), sr2, c135, 0); in sv_sincospif_inline() 65 svfloat32_t sp23 = svmla_lane (sv_f32 (d->c2), sr2, c135, 1); in sv_sincospif_inline() 66 svfloat32_t sp45 = svmla_lane (sv_f32 (d->c4), sr2, c135, 2); in sv_sincospif_inline() 68 svfloat32_t cp01 = svmla_lane (sv_f32 (d->c0), cr2, c135, 0); in sv_sincospif_inline() 69 svfloat32_t cp23 = svmla_lane (sv_f32 (d->c2), cr2, c135, 1); in sv_sincospif_inline() 70 svfloat32_t cp45 = svmla_lane (sv_f32 (d->c4), cr2, c135, 2); in sv_sincospif_inline()
|
H A D | sv_expf_inline.h | 34 #define C(i) sv_f32 (d->poly[i]) 45 svfloat32_t z = svmad_x (pg, sv_f32 (d->inv_ln2), x, d->shift); in expf_inline() 49 svfloat32_t r = svmsb_x (pg, sv_f32 (d->ln2_hi), n, x); in expf_inline() 56 svfloat32_t p12 = svmla_lane (sv_f32 (d->c1), r, lane_consts, 2); in expf_inline() 57 svfloat32_t p34 = svmla_lane (sv_f32 (d->c3), r, lane_consts, 3); in expf_inline()
|
H A D | sv_log1pf_inline.h | 59 m_scale = svadd_x (pg, m_scale, svmla_lane_f32 (sv_f32 (-1), s, fconst, 2)); in sv_log1pf_inline() 65 svfloat32_t p01 = svmla_lane_f32 (sv_f32 (d->c0), m_scale, c1357, 0); in sv_log1pf_inline() 66 svfloat32_t p23 = svmla_lane_f32 (sv_f32 (d->c2), m_scale, c1357, 1); in sv_log1pf_inline() 67 svfloat32_t p45 = svmla_lane_f32 (sv_f32 (d->c4), m_scale, c1357, 2); in sv_log1pf_inline() 68 svfloat32_t p67 = svmla_lane_f32 (sv_f32 (d->c6), m_scale, c1357, 3); in sv_log1pf_inline()
|
H A D | exp10f.c | 52 svfloat32_t shift = sv_f32 (d->shift); in sv_exp10f_inline() 53 svfloat32_t z = svmad_x (pg, sv_f32 (d->log10_2), x, shift); in sv_exp10f_inline() 57 svfloat32_t r = svmsb_x (pg, sv_f32 (d->log2_10_hi), n, x); in sv_exp10f_inline() 63 svfloat32_t p12 = svmla_lane (sv_f32 (d->c1), r, lane_consts, 2); in sv_exp10f_inline() 64 svfloat32_t p34 = svmla_lane (sv_f32 (d->c3), r, lane_consts, 3); in sv_exp10f_inline()
|
H A D | log2f.c | 71 svfloat32_t q_01 = svmla_lane (sv_f32 (d->poly_02468[0]), r, p_1357, 0); in SV_NAME_F1() 72 svfloat32_t q_23 = svmla_lane (sv_f32 (d->poly_02468[1]), r, p_1357, 1); in SV_NAME_F1() 73 svfloat32_t q_45 = svmla_lane (sv_f32 (d->poly_02468[2]), r, p_1357, 2); in SV_NAME_F1() 74 svfloat32_t q_67 = svmla_lane (sv_f32 (d->poly_02468[3]), r, p_1357, 3); in SV_NAME_F1() 75 svfloat32_t y = svmla_x (pg, q_67, r2, sv_f32 (d->poly_02468[4])); in SV_NAME_F1()
|
H A D | sv_expm1f_inline.h | 55 svfloat32_t p12 = svmla_lane (sv_f32 (d->c1), f, lane_constants, 0); in expm1f_inline() 56 svfloat32_t p34 = svmla_lane (sv_f32 (d->c3), f, lane_constants, 1); in expm1f_inline() 59 p = svmla_x (pg, sv_f32 (d->c0), f, p); in expm1f_inline() 65 svfloat32_t t = svscale_x (pg, sv_f32 (1.0f), svcvt_s32_x (pg, j)); in expm1f_inline()
|
H A D | erfcf.c | 62 svfloat32_t shift = sv_f32 (dat->shift); in SV_NAME_F1() 83 svfloat32_t p2 = svmls_lane (sv_f32 (dat->third), r2, coeffs, 1); in SV_NAME_F1() 85 = svmul_x (svptrue_b32 (), r, svmla_lane (sv_f32 (-0.5), r2, coeffs, 0)); in SV_NAME_F1() 86 svfloat32_t p4 = svmla_lane (sv_f32 (dat->two_over_five), r2, coeffs, 2); in SV_NAME_F1() 87 p4 = svmls_x (pg, sv_f32 (dat->tenth), r2, p4); in SV_NAME_F1()
|
H A D | acosf.c | 55 svfloat32_t z2 = svsel (a_gt_half, svmls_x (pg, sv_f32 (0.5), ax, 0.5), in SV_NAME_F1() 72 svfloat32_t mul = svsel (a_gt_half, sv_f32 (2.0), sv_f32 (-1.0)); in SV_NAME_F1() 73 svfloat32_t add = svsel (a_gt_half, off, sv_f32 (d->pi_over_2)); in SV_NAME_F1()
|
H A D | expm1f.c | 71 svfloat32_t p12 = svmla_lane (sv_f32 (d->c1), f, lane_constants, 0); in SV_NAME_F1() 72 svfloat32_t p34 = svmla_lane (sv_f32 (d->c3), f, lane_constants, 1); in SV_NAME_F1() 76 p = svmla_x (pg, sv_f32 (d->c0), f, p); in SV_NAME_F1() 82 svfloat32_t t = svscale_x (pg, sv_f32 (1.0f), svcvt_s32_x (pg, j)); in SV_NAME_F1()
|
H A D | sv_sincosf_common.h | 42 svfloat32_t q = svmla_x (pg, sv_f32 (d->shift), x, d->inv_pio2); in sv_sincosf_inline() 54 svfloat32_t s = svmla_x (pg, sv_f32 (d->poly_sin[1]), r2, d->poly_sin[2]); in sv_sincosf_inline() 60 svfloat32_t p = svmla_x (pg, sv_f32 (d->poly_cos[1]), r2, d->poly_cos[2]); in sv_sincosf_inline() 61 svfloat32_t c = svmad_x (pg, sv_f32 (d->poly_cos[0]), r2, -0.5); in sv_sincosf_inline()
|
H A D | log10f.c | 76 svfloat32_t q_01 = svmla_lane (sv_f32 (d->poly_0246[0]), r, p_1357, 0); in SV_NAME_F1() 77 svfloat32_t q_23 = svmla_lane (sv_f32 (d->poly_0246[1]), r, p_1357, 1); in SV_NAME_F1() 78 svfloat32_t q_45 = svmla_lane (sv_f32 (d->poly_0246[2]), r, p_1357, 2); in SV_NAME_F1() 79 svfloat32_t q_67 = svmla_lane (sv_f32 (d->poly_0246[3]), r, p_1357, 3); in SV_NAME_F1()
|
H A D | erff.c | 53 svfloat32_t shift = sv_f32 (dat->shift); in SV_NAME_F1() 66 scale = svsel (a_gt_min, scale, sv_f32 (dat->scale)); in SV_NAME_F1() 75 y = svsel (a_ge_max, sv_f32 (1.0f), y); in SV_NAME_F1()
|
H A D | logf.c | 71 svfloat32_t p = svmla_lane (sv_f32 (d->poly_246[0]), r, p_0135, 1); in SV_NAME_F1() 72 svfloat32_t q = svmla_lane (sv_f32 (d->poly_246[1]), r, p_0135, 2); in SV_NAME_F1() 73 svfloat32_t y = svmla_lane (sv_f32 (d->poly_246[2]), r, p_0135, 3); in SV_NAME_F1()
|
H A D | tanf.c | 82 svfloat32_t p01 = svmla_lane (sv_f32 (d->c0), z2, odd_coeffs, 0); in SV_NAME_F1() 83 svfloat32_t p23 = svmla_lane (sv_f32 (d->c2), z2, odd_coeffs, 1); in SV_NAME_F1() 84 svfloat32_t p45 = svmla_lane (sv_f32 (d->c4), z2, odd_coeffs, 2); in SV_NAME_F1()
|
H A D | sv_math.h | 109 sv_f32 (float x) in sv_f32() function 122 svfloat32_t y2 = sv_f32 (elem); in sv_call_f32() 139 svfloat32_t y2 = sv_f32 (ret); in sv_call2_f32()
|
H A D | asinf.c | 53 svfloat32_t z2 = svsel (a_ge_half, svmls_x (pg, sv_f32 (0.5), ax, 0.5), in SV_NAME_F1() 64 svfloat32_t y = svmad_m (a_ge_half, p, sv_f32 (-2.0), d->pi_over_2f); in SV_NAME_F1()
|
H A D | atanf.c | 48 svfloat32_t z = svsel (red, svdiv_x (pg, sv_f32 (1.0f), x), x); in SV_NAME_F1() 65 y = svadd_m (red, y, sv_f32 (d->pi_over_2)); in SV_NAME_F1()
|
H A D | cosf.c | 51 svfloat32_t q = svmla_lane (sv_f32 (d->shift), r, negpio2_and_invpio2, 3); in SV_NAME_F1() 64 svfloat32_t y = sv_f32 (0.0f); in SV_NAME_F1()
|
H A D | exp2f.c | 48 svfloat32_t p12 = svmla_lane (sv_f32 (d->c1), r, even_coeffs, 1); in sv_exp2f_inline() 49 svfloat32_t p34 = svmla_lane (sv_f32 (d->c3), r, even_coeffs, 2); in sv_exp2f_inline()
|
H A D | sinf.c | 33 #define C(i) sv_f32 (d->poly[i]) 60 svfloat32_t n = svmla_lane (sv_f32 (d->shift), ax, pi_vals, 3); in SV_NAME_F1()
|
H A D | atan2f.c | 77 shift = svsel (pred_aygtax, sv_f32 (1.0), shift); in SV_NAME_F2() 79 shift = svmul_x (pg, shift, sv_f32 (data_ptr->pi_over_2)); in SV_NAME_F2()
|
H A D | modff.c | 26 return svsel (is_integer, sv_f32 (0), remaining); in SV_NAME_F1_L1()
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/sve/ |
H A D | sv_logf_inline.h | 42 svfloat32_t p = svmla_lane (sv_f32 (d->p4), r, p1356, 2); in sv_logf_inline() 43 svfloat32_t q = svmla_lane (sv_f32 (d->p2), r, p1356, 1); in sv_logf_inline() 44 svfloat32_t y = svmla_lane (sv_f32 (d->p0), r, p1356, 0); in sv_logf_inline()
|
H A D | erfinvf_5u.c | 57 = svmla_x (pg, sv_f32 (d->Q_50[0]), svadd_x (pg, t, d->Q_50[1]), t); in special() 71 svfloat32_t p = svmla_x (pg, sv_f32 (d->P10_1), t, d->P10_2); in notails() 110 pg, svsel (is_tail, sv_f32 (d->tailshift), sv_f32 (-0.5625)), x, x); in SV_NAME_F1()
|