Searched refs:toggle_sign (Results 1 – 8 of 8) sorted by relevance
/picolibc-latest/newlib/libm/machine/spu/headers/ |
D | sincosf4.h | 65 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()
|
D | sincosd2.h | 65 vec_double2 toggle_sign; in _sincosd2() local 83 … toggle_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()
|
D | cosf4.h | 66 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()
|
D | sinf4.h | 63 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()
|
D | sind2.h | 62 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()
|
D | cosd2.h | 63 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()
|
D | tanf4.h | 66 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()
|
D | tand2.h | 66 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()
|