Lines Matching refs:pg
25 special_case (svfloat32_t x, svfloat32_t y, svbool_t pg)
27 return sv_call_f32 (coshf, x, y, pg);
34 svfloat32_t SV_NAME_F1 (cosh) (svfloat32_t x, svbool_t pg)
38 svfloat32_t ax = svabs_x (pg, x);
39 svbool_t special = svcmpge (pg, svreinterpret_u32 (ax), d->special_bound);
42 svfloat32_t t = expf_inline (ax, pg, &d->expf_consts);
43 svfloat32_t half_t = svmul_x (pg, t, 0.5);
44 svfloat32_t half_over_t = svdivr_x (pg, t, 0.5);
46 if (unlikely (svptest_any (pg, special)))
47 return special_case (x, svadd_x (pg, half_t, half_over_t), special);
49 return svadd_x (pg, half_t, half_over_t);