Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libm/machine/spu/headers/
Dsincosd2.h62 vec_int4 octant; in _sincosd2() local
70 MOD_PI_OVER_FOUR(angle, octant); in _sincosd2()
80octant = spu_shuffle(octant, octant, ((vec_uchar16) { 0,1,2,3, 0,1,2,3, 8,9,10,11, 8,9,10,11 })); in _sincosd2()
81 select = (vec_ullong2)spu_cmpeq(spu_and(octant, 2), 0); in _sincosd2()
83 … toggle_sign = (vec_double2)spu_sl(spu_and(spu_add(octant, 2), 4), ((vec_uint4) { 29,32,29,32 })); in _sincosd2()
86 toggle_sign = (vec_double2)spu_sl(spu_and(octant, 4), ((vec_uint4) { 29,32,29,32 })); in _sincosd2()
Dsind2.h59 vec_int4 octant; in _sind2() local
67 MOD_PI_OVER_FOUR(angle, octant); in _sind2()
85 octant = spu_shuffle(octant, octant, ((vec_uchar16) { in _sind2()
89 toggle_sign = (vec_double2)spu_sl(spu_and(octant, 4), ((vec_uint4) { 29,32,29,32 })); in _sind2()
90 select = (vec_ullong2)spu_cmpeq(spu_and(octant, 2), 0); in _sind2()
Dcosd2.h60 vec_int4 octant; in _cosd2() local
68 MOD_PI_OVER_FOUR(angle, octant); in _cosd2()
86octant = spu_shuffle(octant, octant, ((vec_uchar16) { 0,1, 2, 3, 0,1, 2, 3, 8,9,10,11, 8,9,10,11 }… in _cosd2()
88 toggle_sign = (vec_double2)spu_sl(spu_and(spu_add(octant, 2), 4), ((vec_uint4) { 29,32,29,32 })); in _cosd2()
89 select = (vec_ullong2)spu_cmpeq(spu_and(octant, 2), 0); in _cosd2()
Dtand2.h62 vec_int4 octant; in _tand2() local
71 MOD_PI_OVER_FOUR(angle, octant); in _tand2()
88 octant = spu_shuffle(octant, octant, ((vec_uchar16) { in _tand2()
92 toggle_sign = spu_and((vec_double2)spu_sl(octant, 30), in _tand2()
95 select = (vec_ullong2)spu_cmpeq(spu_and(octant, 2), 0); in _tand2()
Dsincosf4.h62 vec_int4 octant; in _sincosf4() local
70 MOD_PI_OVER_FOUR_F(angle, octant); in _sincosf4()
76 select = spu_cmpeq(spu_and(octant, 2), 0); in _sincosf4()
78 toggle_sign = (vec_float4)spu_sl(spu_and(octant, 4), 29); in _sincosf4()
81 toggle_sign = (vec_float4)spu_sl(spu_and(spu_add(octant, 2), 4), 29); in _sincosf4()
Dcosf4.h63 vec_int4 octant; in _cosf4() local
71 MOD_PI_OVER_FOUR_F(angle, octant); in _cosf4()
89 toggle_sign = (vec_float4)spu_sl(spu_and(spu_add(octant, 2), 4), 29); in _cosf4()
90 select = spu_cmpeq(spu_and(octant, 2), 0); in _cosf4()
Dsinf4.h60 vec_int4 octant; in _sinf4() local
68 MOD_PI_OVER_FOUR_F(angle, octant); in _sinf4()
86 toggle_sign = (vec_float4)spu_sl(spu_and(octant, 4), 29); in _sinf4()
87 select = spu_cmpeq(spu_and(octant, 2), 0); in _sinf4()
Dtanf4.h62 vec_int4 octant; in _tanf4() local
71 MOD_PI_OVER_FOUR_F(angle, octant); in _tanf4()
88 toggle_sign = (vec_float4)spu_sl(spu_and(octant, 2), 30); in _tanf4()
90 select = spu_cmpeq(spu_and(octant, 2), 0); in _tanf4()