Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 17 of 17) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Drint.h45 vec_double2 in, out, addend; in _rint() local
53 addend = spu_sel((vec_double2)(VEC_SPLAT_U64(0x4330000000000000ULL)), in _rint()
55 out = spu_sel(spu_sub(spu_add(in, addend), addend), in, sign); in _rint()
Dnearbyint.h46 vec_double2 in, out, addend; in _nearbyint() local
56 addend = spu_sel((vec_double2)(VEC_SPLAT_U64(0x4330000000000000ULL)), in _nearbyint()
58 out = spu_sel(spu_sub(spu_add(in, addend), addend), in, sign); in _nearbyint()
Dlroundf.h46 vec_float4 in, addend; in _lroundf() local
51 addend = spu_sel(VEC_SPLAT_F32(0.5f), in, VEC_SPLAT_U32(0x80000000)); in _lroundf()
52 out = spu_convts(spu_add(in, addend), 0); in _lroundf()
Dlrint.h45 vec_double2 in, addend; in _lrint() local
51 addend = spu_sel((vec_double2)(VEC_SPLAT_U64(0x4330000000000000ULL)), in _lrint()
53 out = (vec_int4)spu_rlqwbyte(spu_add(in, addend), 4); in _lrint()
Dllround.h43 vec_uint4 mant, sign, mask, borrow, addend; in _llround() local
68 addend = spu_and(spu_rlqw(mant, 1), VEC_LITERAL(vec_uint4, 0,1,0,0)); in _llround()
69 mant = spu_addx(mant, addend, spu_rlqwbyte(spu_genc(mant, addend), 4)); in _llround()
Dround.h47 vec_uint4 or_mask, and_mask, mask, addend; in _round() local
59 addend = spu_and(spu_rlmask(VEC_LITERAL(vec_uint4, 0x100000, 0x80000000, in _round()
63 in = (vec_double2)spu_addx((vec_uint4)in, addend, in _round()
64 spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4)); in _round()
Droundf.h45 vec_uint4 or_mask, and_mask, mask, addend; in _roundf() local
54 addend = spu_and(spu_rlmask(VEC_SPLAT_U32(0x1000000), exp), in _roundf()
57 in = (vec_float4)spu_add((vec_uint4)in, addend); in _roundf()
Dlround.h48 vec_uint4 mant, sign, mask, addend; in _lround() local
72 addend = spu_and(spu_rlqw(mant, 1), 1); in _lround()
73 mant = spu_and(spu_add(mant, addend), mask); in _lround()
Dfloord2.h65 vec_uint4 mask, mask_1, frac_mask, addend, insert, pos, equal0; in _floord2() local
98addend = spu_andc(spu_andc(mask_1, pos), spu_and(equal0, spu_shuffle(equal0, equal0, swap_words))); in _floord2()
104 …out = (vec_double2)spu_addx((vec_uint4)in, addend, spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4… in _floord2()
Dceil.h49 vec_uint4 mask, mask_1, frac_mask, addend, insert, pos, equal0; in _ceil() local
84 addend = spu_andc(spu_and(mask_1, pos), spu_and(equal0, spu_shuffle(equal0, equal0, swap_words))); in _ceil()
90 …out = (vec_double2)spu_addx((vec_uint4)in, addend, spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4… in _ceil()
Dfloor.h47 vec_uint4 mask, mask_1, frac_mask, addend, insert, pos, equal0; in _floor() local
82 addend = spu_andc(spu_andc(mask_1, pos), in _floor()
89 out = (vec_double2)spu_addx((vec_uint4)in, addend, in _floor()
90 spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4)); in _floor()
Dfloorf4.h67 vec_uint4 mask, frac_mask, addend, insert, pos; in _floorf4() local
91 addend = spu_andc(spu_andc(spu_add(mask, 1), pos), spu_cmpeq(spu_and((vec_uint4)value, mask), 0)); in _floorf4()
96 out = (vec_float4)spu_add(spu_sel((vec_uint4)value, insert, mask), addend); in _floorf4()
Dfloorf.h86 vec_uint4 mask, frac_mask, addend, insert, pos; in _floorf()
112 addend = spu_andc(spu_andc(spu_add(mask, 1), pos), in _floorf()
118 out = (vec_float4)spu_add(spu_sel((vec_uint4)in, insert, mask), addend); in _floorf()
Dceilf.h86 vec_uint4 mask, frac_mask, addend, insert, pos; in _ceilf()
113 addend = spu_andc(spu_and(spu_add(mask, 1), pos), spu_cmpeq(spu_and((vec_uint4)in, mask), 0)); in _ceilf()
118 out = (vec_float4)spu_add(spu_sel((vec_uint4)in, insert, mask), addend); in _ceilf()
Dasind2.h109 vec_double2 multiplier, addend; in _asind2() local
128addend = spu_and(spu_sel(spu_splats((double)SM_PI_2), x, (vec_ullong2)sign), (vec_double2)x_gt_hal… in _asind2()
159 result = spu_nmsub(spu_madd(x3, pq, x), multiplier, addend); in _asind2()
Dacosd2.h105 vec_double2 multiplier, addend; in _acosd2() local
126 addend = spu_sel(spu_splats(SM_PI_2), spu_and(spu_splats(SM_PI), x_neg), (vec_ullong2)x_gt_half); in _acosd2()
157 result = spu_madd(spu_madd(x3, pq, x), multiplier, addend); in _acosd2()
/picolibc-3.7.0-3.6.0/
DREADME.md319 addend is infinity (-inf + inf results in NaN in that case).