Home
last modified time | relevance | path

Searched refs:toggle_sign (Results 1 – 8 of 8) sorted by relevance

/picolibc-latest/newlib/libm/machine/spu/headers/
Dsincosf4.h65 vec_float4 toggle_sign; in _sincosf4() local
78 toggle_sign = (vec_float4)spu_sl(spu_and(octant, 4), 29); in _sincosf4()
79 *sinx = spu_xor(spu_sel(cos, sin, select), toggle_sign); in _sincosf4()
81 toggle_sign = (vec_float4)spu_sl(spu_and(spu_add(octant, 2), 4), 29); in _sincosf4()
82 *cosx = spu_xor(spu_sel(sin, cos, select), toggle_sign); in _sincosf4()
Dsincosd2.h65 vec_double2 toggle_sign; in _sincosd2() local
83toggle_sign = (vec_double2)spu_sl(spu_and(spu_add(octant, 2), 4), ((vec_uint4) { 29,32,29,32 })); in _sincosd2()
84 *cosx = spu_xor(spu_sel(sin, cos, select), toggle_sign); in _sincosd2()
86 toggle_sign = (vec_double2)spu_sl(spu_and(octant, 4), ((vec_uint4) { 29,32,29,32 })); in _sincosd2()
87 *sinx = spu_xor(spu_sel(cos, sin, select), toggle_sign); in _sincosd2()
Dcosf4.h66 vec_float4 toggle_sign, answer; in _cosf4() local
89 toggle_sign = (vec_float4)spu_sl(spu_and(spu_add(octant, 2), 4), 29); in _cosf4()
92 answer = spu_xor(spu_sel(sin, cos, select), toggle_sign); in _cosf4()
Dsinf4.h63 vec_float4 toggle_sign, answer; in _sinf4() local
86 toggle_sign = (vec_float4)spu_sl(spu_and(octant, 4), 29); in _sinf4()
89 answer = spu_xor(spu_sel(cos, sin, select), toggle_sign); in _sinf4()
Dsind2.h62 vec_double2 toggle_sign, answer; in _sind2() local
89 toggle_sign = (vec_double2)spu_sl(spu_and(octant, 4), ((vec_uint4) { 29,32,29,32 })); in _sind2()
92 answer = spu_xor(spu_sel(cos, sin, select), toggle_sign); in _sind2()
Dcosd2.h63 vec_double2 toggle_sign, answer; in _cosd2() local
88 toggle_sign = (vec_double2)spu_sl(spu_and(spu_add(octant, 2), 4), ((vec_uint4) { 29,32,29,32 })); in _cosd2()
91 answer = spu_xor(spu_sel(sin, cos, select), toggle_sign); in _cosd2()
Dtanf4.h66 vec_float4 toggle_sign, answer; in _tanf4() local
88 toggle_sign = (vec_float4)spu_sl(spu_and(octant, 2), 30); in _tanf4()
94 answer = spu_xor(_divf4(num, den), toggle_sign); in _tanf4()
Dtand2.h66 vec_double2 toggle_sign, answer; in _tand2() local
92 toggle_sign = spu_and((vec_double2)spu_sl(octant, 30), in _tand2()
99 answer = spu_xor(_divd2(num, den), toggle_sign); in _tand2()