Home
last modified time | relevance | path

Searched refs:fx (Results 1 – 4 of 4) sorted by relevance

/picolibc-latest/newlib/libm/machine/spu/headers/
Dcos_sin.h91 vec_float4 fx; \
96 fx = spu_convtf(spu_rlmaska(_ix, -1), 0); \
97 _x = spu_nmsub(fx, spu_splats((float)M_PI_OVER_2F_HI), _x); \
98 _x = spu_nmsub(fx, spu_splats((float)M_PI_OVER_2F_LO), _x); \
108 vec_float4 fx; \
111 fx = spu_roundtf(spu_mul(_x, spu_splats(M_FOUR_OVER_PI))); \
112 _ix = spu_convts(fx, 0); \
113 _ix = spu_add(_ix, spu_add(spu_rlmaska((vec_int4)fx, -31), 1)); \
Dsqrt.h52 vec_float4 fx, fg, fy, fd, fe, fy2, fhalf; in _sqrt() local
70 fx = spu_roundtf(dx); in _sqrt()
72 fy2 = spu_rsqrte(fx); in _sqrt()
74 fg = spu_mul(fy2, fx); /* 12-bit approximation to sqrt(cx) */ in _sqrt()
80 fd = spu_nmsub(fg, fg, fx); in _sqrt()
Dsqrtd2.h60 vec_float4 fx, fg, fy, fd, fe, fy2, fhalf; in _sqrtd2() local
86 fx = spu_roundtf(dx); in _sqrtd2()
88 fy2 = spu_rsqrte(fx); in _sqrtd2()
90 fg = spu_mul(fy2, fx); /* 12-bit approximation to sqrt(cx) */ in _sqrtd2()
96 fd = spu_nmsub(fg, fg, fx); in _sqrtd2()
/picolibc-latest/newlib/libm/ld/common/
Ds_cbrtl.c30 float ft, fx; in cbrtl() local
82 fx = x; in cbrtl()
83 GET_FLOAT_WORD(hx, fx); in cbrtl()